-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b18fb5
commit 64637a2
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
Channel | ||
======= | ||
|
||
Channel is an attempt for implementing channels like golang offers. I've considered them to be useful from the first moment I've seen them, so here is an exemplary implementation for C++ :) | ||
Channel is an attempt for implementing channels like golang offers. I've considered them to be useful from the first moment I've seen them, so here is an exemplary implementation for C++ :) | ||
|
||
Once again, the given code requires a rather new compiler. I've tested it with GCC 4.7.1 on Windows. | ||
Note: Most parts can easily be implemented using Boost, since the API is quite close to what the current C++ standard offers (regarding mutex, lock_guard, thread, etc.). |