shm: Add more comments

This commit is contained in:
Olivier Crête 2010-10-20 21:52:24 +02:00
parent 768319b866
commit b14a0d64ec

View file

@ -23,6 +23,8 @@
*/ */
/* /*
* None of this code is thread safe, if you want to use it in a multi-threaded
* context, please protect it with a mutex.
* *
* First, create a writer with sp_writer_create() * First, create a writer with sp_writer_create()
* And selectes() on the socket from sp_get_fd() * And selectes() on the socket from sp_get_fd()