summaryrefslogtreecommitdiff
path: root/toxcore/util.h
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-10-05 12:53:54 +0200
committerCoren[m] <Break@Ocean>2013-10-05 12:53:54 +0200
commit1331a32223da0090ab982eabd4e04f3d8e36b6af (patch)
tree074c48cbb4c9577d0d889c4476eba0cbe8d50375 /toxcore/util.h
parent1f92ee274d0cbc8d11ed14c9f3c25bbf1900e43e (diff)
Broken *_wait() into *_wait_prepare() and *_wait_execute()
To allow the actual waiting to run without any locking, split it into preparing the data it uses and the execution of the wait. The caller must provide with the buffer to store whatever data it requires to wait. Completely eliminates any reliance on the existence of anything but that data in the actual wait routine. Also fixed a few argument type warnings inside LOGGING.
Diffstat (limited to 'toxcore/util.h')
0 files changed, 0 insertions, 0 deletions