Files
metasploit-gs/dev/msf3/ruby.nono
T
Matt Miller 7f5738779b move internal notes from documentation directory
git-svn-id: file:///home/svn/incoming/trunk@3051 4d416f70-5f16-0410-b530-b9f4589650da
2005-11-19 02:49:58 +00:00

17 lines
410 B
Plaintext

Things to *not* do in ruby that will break ruby threads. This list
isn't complete, but it's things I've noticed while working on stuff:
- select with no timeout
This will make a blocking select call that will block all other
threads.
Use Rex::ThreadSafe::select
- use sleep
This will block all threads.
Use Rex::ThreadSafe::sleep (we've now wrapped the global sleep to
call the rex sleep)