mratsim / weave

A state-of-the-art multithreading runtime: message-passing based, fast, scalable, ultra-low overhead
Other
532 stars 22 forks source link

Expose isReady to check if sync will block (#123 #22) #124

Closed mratsim closed 4 years ago

mratsim commented 4 years ago

To avoid blocking an event loop, main thread or networking thread, they need to know if sync will block.

This adds and expose isReady to that end