Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Patch implementing inter-thread shared variable without creating a new thread. #4554
Original bug ID: 4554
I would like to suggest a new feature about Event module.
Event module provides CML style synchronous communication methods,
So, I have implemented shared variable module called 'Cell'.
Type of Cell module inside Event module is as follow:
module type Cell = sig type 'a t val make : unit -> 'a t val init_make : 'a -> 'a t val put : 'a t -> 'a -> unit Event.event val take : 'a t -> 'a Event.event val read : 'a t -> 'a Event.event val overwrite : 'a t -> ('a -> 'a) -> unit Event.event end
I'm sending a patch to Event module with some sample code for testing.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.