client: update documentation about threading
authorMarek Chalupa <mchqwerty@gmail.com>
Fri, 5 Dec 2014 13:00:05 +0000 (14:00 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 9 Dec 2014 16:05:04 +0000 (18:05 +0200)
commit434fd45e4b62a5e410020bbc124d8e3460729aa2
treebfe1877fc1a61acf71e0f3cabe4ebacbd38f3be8
parent77939736fb613896fb9f5d262cd877acfb2728d2
client: update documentation about threading

Remove out-dated documentation and add few more words
about this topic.

v2. replace a paragraph by better explanation from Pekka Paalanen
    fix other notes from reviewing

v3. fix typo

v4. fix flags for poll in an example

    add wl_display_cancel_read() to another example
    (so that user sees that it should be used)

    move proper use of wl_display_prepare_read
    before the explanation why it is wrong to use
    wl_display_displach

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
src/wayland-client.c