Deadlock while concurrent event recording on different streams

Hi all,

Is it possible to encounter deadlock when I try to record event on different stream from different host thread?

Host threads are created by openMP, each of them has own stream and couple of own events. When it tries to record an event program freezes. I found that when I dumped core and saw back trace in gdb. Each thread froze on the same line with ‘cudaEventRecord’.

I would be grateful for any kind of help.

PS:
I posted the same question on http://stackoverflow.com/questions/6609908/deadlock-while-concurrent-event-recording-on-different-streams

EDIT:

OK, everything is just fine. It was MY FAULT. Sorry for messing around.