Refactor around sharings

- exposing additional handles in common code
- adding proxy for CreateEvent (windows)

Change-Id: I90872682c6c518c98d9d43e79f5112ee869e94aa
This commit is contained in:
Chodor, Jaroslaw
2018-03-23 15:55:13 +01:00
committed by sys_ocldev
parent 7f32eb06d1
commit d65128d4e8
18 changed files with 166 additions and 9 deletions

View File

@ -258,7 +258,7 @@ class Event : public BaseObject<_cl_event>, public IDNode<Event> {
return (peekNumEventsBlockingThis() > 0);
}
void unblockEventBy(Event &event, uint32_t taskLevel, int32_t transitionStatus);
virtual void unblockEventBy(Event &event, uint32_t taskLevel, int32_t transitionStatus);
void updateTaskCount(uint32_t taskCount) {
if (taskCount == Event::eventNotReady) {