– Re: user events, CLEventList
In Reply To
Ok thanks for the background. Yes I am barely touching the 1.1 stuff, and this was one case of it.
Basically I want to pass (CLEventList condition, CLEventList event) as arguments to a function, and have that function participate in the global CL event scheduling as if it were any other enqueue() call: including the case where that function is just (e.g. multi-threaded) Java code. This seems to be what user events are for.
The only reason I could imagine not to expose it in that way would be to hide the reference counting issues (e.g. passing ownership or not).