[Rubycocoa-devel 364] Threading thoughts

Back to archive index

Jonathan Paisley jp-ww****@dcs*****
Sun Aug 20 18:19:22 JST 2006


Hello,

Since we can't support access from multiple native threads at the moment 
(due to limitations in the ruby interpreter), I wondered if we should 
include a run-time warning to check that the all calls into the bridge 
from objc->ruby are being performed in the same thread?

i.e., call pthread_self() and check that the thread id is the same as the 
first one used. If not, report an error in some way.

Any thoughts?

Cheers,
Jonathan




More information about the Rubycocoa-devel mailing list
Back to archive index