]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commit
forb: Fix races between instances of forb_main_thread
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Feb 2011 22:03:58 +0000 (23:03 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Feb 2011 22:32:59 +0000 (23:32 +0100)
commit5d60dcf39e822701bf43ff9eecf78fc99f63855a
tree66a7cb6f70b9c1c0b5e4cf1f36241fb50196183d
parent51a2acb4f65c0ea1a5a169ee92693068f2a8769c
forb: Fix races between instances of forb_main_thread

The data passed to forb_main_thread must be allocated for each thread
separately. Otherwise, threads may access data intended for other threads.
src/forb/src/forbrun/forbrun.c