Chaoran Yang

Results 11 comments of Chaoran Yang

@Globegitter Yes, I just tried to run `bazel run @pip_deps//pytest:bin-pytest`. It gave me an error `ImportError: module 'pytest' has no attribute 'main'`. I was using a python library that happen...

This is what I did in my repo: https://github.com/chaoran/node-throttle Check it out. Chaoran > On Apr 20, 2017, at 4:15 PM, Nils Kuhnhenn wrote: > > Another solution: Keep twice...

Is this the same issue as #10 ? Or a different one?

It may be a bug in the wfqueue implementation. I don't have time to debug it right now. But I will leave this issue open until I fix it.

could you give me a small example that reproduce this?

Sorry, I don't have reddit account. If you post here a small test code example and the compiler version you used. I can debug the issue and get back to...

What's your gcc version: `g++ --version`?

Could you try your test after adding a `pthread_barrier_wait` after `queue_register` and another `pthread_barrier_wait` before `queue_free` in both `consuming_fn` and `producing_fn`?

Did you initialize the barrier before you use it?

Could you post your code after all the barrier related changes?