Here is the full question with examples (though meanwhile closed as usual in recent times on stackoverflow, so answer here please): https://stackoverflow.com/questions/77802102/mutex-and-condition-variables-in-go-without-using-the-sync-package
This is a conceptual question based on the duality of monitors and message passing. My goal is to see and be able to experiment with a correct and complete example of a mutex with condition variables in Go which only use Go channels for implementation, as a proof of concept. Only then we can discuss how far it makes sense from an engineering standpoint. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e31ddd07-8e08-4cce-8232-210534ef1515n%40googlegroups.com.