summaryrefslogtreecommitdiff
path: root/include/cl_context.h
diff options
context:
space:
mode:
authorJunyan He <junyan.he@intel.com>2016-04-15 16:36:17 +0800
committerJunyan He <junyan.he@intel.com>2016-04-15 16:36:17 +0800
commitb69169db6601031f987213df13dab6c968925e6e (patch)
tree9ecc0bc2e6351db46ea75d837e2205b8a753ceb3 /include/cl_context.h
parenta946bd9ecadcf3dc428d4ba0c80427e8a991ee5b (diff)
wait
Diffstat (limited to 'include/cl_context.h')
-rw-r--r--include/cl_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cl_context.h b/include/cl_context.h
index 4a624dcb..27efd063 100644
--- a/include/cl_context.h
+++ b/include/cl_context.h
@@ -59,6 +59,7 @@ typedef struct _cl_context {
cl_sampler samplers; /* All sampler object currently allocated */
cl_event events; /* All event object currently allocated */
pthread_mutex_t lock; /* The lock to protect the context. */
+ pthread_cond_t cond; /* The condition we wait on. */
struct _cl_context_prop props;
cl_context_properties *prop_user; /* a copy of user passed context properties when create context */
cl_uint prop_len; /* count of the properties */