Subversion Repositories HelenOS

Rev

Rev 2482 | Rev 2484 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2482 Rev 2483
Line 49... Line 49...
49
 *            found, might try synchronous ]
49
 *            found, might try synchronous ]
50
 *
50
 *
51
 * Example of use:
51
 * Example of use:
52
 *
52
 *
53
 * 1) Multithreaded client application
53
 * 1) Multithreaded client application
54
 *  create_thread(thread1);
54
 *  fibril_create(fibril1);
55
 *  create_thread(thread2);
55
 *  fibril_create(fibril2);
56
 *  ...
56
 *  ...
57
 *  
57
 *  
58
 *  thread1() {
58
 *  fibril1() {
59
 *        conn = ipc_connect_me_to();
59
 *        conn = ipc_connect_me_to();
60
 *        c1 = send(conn);
60
 *        c1 = send(conn);
61
 *        c2 = send(conn);
61
 *        c2 = send(conn);
62
 *        wait_for(c1);
62
 *        wait_for(c1);
63
 *        wait_for(c2);
63
 *        wait_for(c2);