git-svn-id: file:///home/svn/incoming/trunk@2769 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2005-07-16 16:06:36 +00:00
parent 334860ad91
commit a4925a6517
1 changed files with 15 additions and 0 deletions

15
documentation/ruby.nono Normal file
View File

@ -0,0 +1,15 @@
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.
I'm going to write a select wrapper that will reduce timeouts to
lower values and just keep looping on select until the timeout
expires.
- use sleep
This will block all threads.
I'll probably write a wrapper around this too.