Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document tasks/coroutines properly #4857

Closed
StefanKarpinski opened this issue Nov 19, 2013 · 2 comments
Closed

document tasks/coroutines properly #4857

StefanKarpinski opened this issue Nov 19, 2013 · 2 comments
Labels
docs This change adds or pertains to documentation
Milestone

Comments

@StefanKarpinski
Copy link
Member

The current documentation is severely lacking:

http://docs.julialang.org/en/latest/manual/control-flow/#man-tasks

This is probably one of the most poorly documented aspects of the language. Now that all of our I/O is task-based, this is a rather unfortunate oversight.

@vtjnash vtjnash added this to the 0.3 milestone Apr 25, 2014
@JeffBezanson
Copy link
Member

I think the docs for this are decent now.

@femtotrader
Copy link

I don't see in Task/Coroutine doc how to signal consumer that there is nothing to consume anymore.

Python generator raises exception (I don't remember exactly differences between StopIteration and GeneratorExit exceptions)

https://docs.python.org/3/library/exceptions.html#StopIteration
https://docs.python.org/3/library/exceptions.html#GeneratorExit

Is there a similar mechanism with Julia ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

No branches or pull requests

4 participants