behaviour_info(callbacks) ->
[
{api_version,0},
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Purpose: To prevent scheduler collapse by disabling scheduler sleep periods. | |
This patch is relative to R16B01 pre-release but may be applied (with "fuzz") | |
on R15B01 and R15B03-1 without difficulty. | |
The new flag, "+zdss", must be used with "+scl false" flag to be successful. | |
See the erl.xml document for a description. Example use: | |
erl +scl false +zdss 500:500 | |
Note that this flag used to be called "+zdnfgtse" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Grimsby | |
(n.) --- A lump of something gristly and foul-tasting concealed in a | |
mouthful of stew or pie. Grimsbies are sometimes merely the result of | |
careless cookery, but more often they are placed there deliberately by | |
Freemasons. Grimsbies can be purchased in bulk from any respectable | |
Masonic butcher on giving him the secret Masonic handbag. One is then | |
placed in a guest's food to see if he knows the correct Masonic method of | |
dealing with it. If the guest is not a Mason, the host may find it | |
entertaining to watch how he handles the obnoxious object. It may be: | |
a). manfully swollowed, invariably bringing tears to the eyes, b). chewed |
Threads (all the same conversation, really) on the erlang-questions mailing list about R15B scheduler woes: schedulers appear to go to sleep/offline if NIFs do not return control back to the VM's scheduler code quickly enough, e.g., executing for longer than 1 millisecond.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref2_test() -> | |
Ref = make_ref(), | |
ref_fixed(Ref), | |
receive Ref -> Ref after 500 -> bummer end. |