Skip to content
#

structured-concurrency

Here are 11 public repositories matching this topic...

mulle-kybernetik-tv
mulle-kybernetik-tv commented Dec 11, 2018

Some feedback on my first use of libdill, so these are all newbie issues 😌 :

It is not well explained how to use the int[2] channel you get from chmake

The examples don't help much and sometimes are even wrong like on chdone:

int ch[2];
chmake(ch);
chsend(ch, "ABC", 3, -1); // should be ch[ 1]
chdone(ch);                     // likely also ch
goodboy
goodboy commented Feb 10, 2020

As per #98, in #102 we added proper testing of (almost) all examples in the docs (more land in #99 too).

One of the issues is that some of these examples are also re-implemented in the test suite.
The duplication between examples in examples/ and what's in the tests is hard to avoid currently since the test currently take some of the documented examples and parameterize them with things li

Improve this page

Add a description, image, and links to the structured-concurrency topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the structured-concurrency topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.