Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for sync::Semaphore #27798
Comments
alexcrichton
added
T-libs
B-unstable
labels
Aug 13, 2015
alexcrichton
added
the
I-nominated
label
Dec 16, 2015
This comment has been minimized.
This comment has been minimized.
|
If this is used widely, however, we can reconsider! |
alexcrichton
added
final-comment-period
and removed
I-nominated
labels
Dec 17, 2015
This comment has been minimized.
This comment has been minimized.
|
The long-term vision of concurrency support within All that said, in the long run I believe that it's important for Rust to have some official user-space concurrency constructs. This could be a rust-lang crate, or eventually land in std. |
This comment has been minimized.
This comment has been minimized.
fritzsche
commented
Jan 5, 2016
|
Was looking for names Semaphore for Intra-Process synchronization like in your repo: |
This comment has been minimized.
This comment has been minimized.
|
@fritzsche a semaphore is a standard synchronization primitive: https://en.wikipedia.org/wiki/Semaphore_(programming) |
This comment has been minimized.
This comment has been minimized.
|
@fritzsche yeah that repo is for OS semaphores which are normally some form of IPC as well, but as @sfackler mentioned a semaphore is also a synchronization primitive. This is also partly why I'd like to deprecate for now to avoid confusion about what it is. |
This comment has been minimized.
This comment has been minimized.
|
The libs team discussed this in triage yesterday and the decision was to deprecate |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 15, 2016
alexcrichton
referenced this issue
Jan 15, 2016
Merged
std: Stabilize APIs for the 1.7 release #30943
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 15, 2016
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 15, 2016
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 16, 2016
bors
added a commit
that referenced
this issue
Jan 16, 2016
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 16, 2016
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jan 16, 2016
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jan 17, 2016
bors
closed this
in
#30943
Jan 17, 2016
This comment has been minimized.
This comment has been minimized.
aarroyoc
commented
Nov 21, 2017
|
How about re-adding Semaphores? It's a very useful synchronization method and sometimes works better than Mutexes + CondVar. I've seen many crates implementing Semaphores, people are interested. It would be great if they were supported in std. |
alexcrichton commentedAug 13, 2015
This is a tracking issue for the unstable
semaphorefeature of the standard library.Decision!