path: root/xlators/storage/posix
diff options
authorAnand Avati <>2012-07-11 16:23:44 -0700
committerAnand Avati <>2012-07-13 21:10:48 -0700
commitab44480749a289aaaf78dad4123ef16d1872ea1b (patch)
treeede3a3aa3f248f9a3bd62b0ab3bda701cab3225d /xlators/storage/posix
parentaabe0c96cac4d219015a2fe085a7f89ebb9744d1 (diff)
syncop: accomodate non-syncenv calls
Use mutex/cond and support syncop_XXXXXX() calls in non-syncenv environments. syncenv environments continue to use swapcontext based soft context switches. In non-syncenv environments this blocks the caller thread on the mutex. The intended use case is in libgfapi where it is expected to block the caller thread while performing synchronous calls. Change-Id: Id6470c99bdc2fe4b7610372139f7fa99b2da400b BUG: 839950 Signed-off-by: Anand Avati <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Amar Tumballi <>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions