Bug 6953 – std.concurrency needs more documentation

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-11-15T11:01:00Z
Last change time
2011-12-11T14:03:33Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-11-15T11:01:07Z
prioritySend, receive, receiveOnly are not documented at all (oddly enough they are documented in TDPL..). There's also a List struct in the docs but it doesn't say what it's for. send() is poorly documented. It doesn't state what types you're allowed to send, or what happens if you send a value to a Tid of a terminated thread. There are no examples either. It's quite a contrast compared to how well std.parallelism is documented.
Comment #1 by bugzilla — 2011-12-11T14:03:33Z