Help patching sub second fork / suspends

0 views
Skip to first unread message

Chris Norman

unread,
Jan 5, 2016, 6:29:26 PM1/5/16
to MOO Talk
Hi all,
I'm in the process of creating a "Stunt On Steroids"
(https://github.com/chrisnorman7/stunt.git).

I am trying to get the sub second fork / suspend in, and I've patched by
hand.

I know this is quite prone to errors, so I'm not holy surprised that the
whole thing has broken, especially as there were at least two code
changes which I had to affect in the code I was patching.

Anyways, here's the compilation log. Does anyone have any idea how I fix
this particular lot? Or has anyone got a patch that will work with Stunt?

Cheers,

Chris Norman
errors.log

Tim van Dijen

unread,
Jan 6, 2016, 12:34:19 AM1/6/16
to MOO-...@googlegroups.com
Chris,

I've posted a subsecond fork/suspended patch for Stunt a few weeks ago...
Have a look at the attachment...

Tim

Op 6-1-2016 om 00:29 schreef 'Chris Norman' via MOO Talk:
subsecond_fork_suspend-stunt.diff

Chris Norman

unread,
Jan 6, 2016, 4:09:29 AM1/6/16
to MOO-...@googlegroups.com
Tim, you're a legend! Thank you very much, worked like a charm.

By the way, if anyone is interested in my efforts (actually they're
mainly a culmination of others' efforts), you can get the code at:
https://github.com/chrisnorman7/stunt.git

Cheers,

Tristan

unread,
Jan 6, 2016, 10:49:19 AM1/6/16
to MOO-...@googlegroups.com
Hello!

The traditional floating point fork-suspend patch created for LambdaMOO will not work with Stunt. I've attached a diff that was posted some months ago to this list. It should get the job done nicely.

Good luck.
--
You received this message because you are subscribed to the Google Groups "MOO Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to MOO-talk+u...@googlegroups.com.
To post to this group, send email to MOO-...@googlegroups.com.
Visit this group at https://groups.google.com/group/MOO-talk.
For more options, visit https://groups.google.com/d/optout.
subsecond_fork_suspend-stunt.diff

Tristan

unread,
Jan 6, 2016, 2:05:08 PM1/6/16
to MOO-...@googlegroups.com
Apparently I'm under some sort of moderation rule, probably do to this new address. Sorry for the very late and double post; I had sent something out prior to Tim's response, but it didn't get posted until nearly 24 hours later.

-----Original Message-----
From: MOO-...@googlegroups.com [mailto:MOO-...@googlegroups.com]

the Prometheus Support

unread,
Jan 7, 2016, 11:23:02 AM1/7/16
to MOO-...@googlegroups.com
Hello all!

I've been looking at the MySQLStunt. I think that we should use the
Nettle library there as well (to add additional algorithms to
string_hash(), value_hash(), ETC). I personally love SHA512!
I'll see what I can do about that myself, just letting you know.

--
Con
Reply all
Reply to author
Forward
0 new messages