about summary refs log tree commit homepage
path: root/ext/posix_mq
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-03-02 21:20:28 -0800
committerEric Wong <normalperson@yhbt.net>2010-03-02 22:44:36 -0800
commit19668b0edc9b09cfd72247f7041390e0328032a0 (patch)
treef2d0d7bb08612cb597ec684705ee0c7957df76f3 /ext/posix_mq
parent0f4a8ef81479f9eff9037011d81b96cf402cbe7b (diff)
downloadruby_posix_mq-19668b0edc9b09cfd72247f7041390e0328032a0.tar.gz
fix potential race with notify(&block)
We need to assign the notify_thread before assigning the
notification.  Otherwise, there's a chance the notification
could fire and the notify_thread is not properly assigned for
the POSIX_MQ object when the pipe becomes readable.
Diffstat (limited to 'ext/posix_mq')
0 files changed, 0 insertions, 0 deletions