Lines Matching refs:main
29 running in one thread (the main thread)**. No other thread interacts
40 .. rubric:: thread-create/main.c
41 .. literalinclude:: ../../code/thread-create/main.c
57 .. rubric:: thread-create/main.c
58 .. literalinclude:: ../../code/thread-create/main.c
127 .. rubric:: locks/main.c - simple rwlocks
128 .. literalinclude:: ../../code/locks/main.c
138 We also use barriers in the above example so that the main thread can wait for
175 int main() {
212 .. rubric:: queue-work/main.c - lazy fibonacci
213 .. literalinclude:: ../../code/queue-work/main.c
226 .. rubric:: queue-work/main.c
227 .. literalinclude:: ../../code/queue-work/main.c
254 .. rubric:: queue-cancel/main.c
255 .. literalinclude:: ../../code/queue-cancel/main.c
263 .. rubric:: queue-cancel/main.c
264 .. literalinclude:: ../../code/queue-cancel/main.c
273 .. rubric:: queue-cancel/main.c
274 .. literalinclude:: ../../code/queue-cancel/main.c
288 for a variable that only the main process sets to signal termination.
298 to the main thread. This is a simple example of having a download manager
301 .. rubric:: progress/main.c
302 .. literalinclude:: ../../code/progress/main.c
327 .. rubric:: progress/main.c
328 .. literalinclude:: ../../code/progress/main.c
338 .. rubric:: progress/main.c
339 .. literalinclude:: ../../code/progress/main.c
348 .. rubric:: progress/main.c
349 .. literalinclude:: ../../code/progress/main.c
391 4. The async callback, invoked in the main loop thread, which is the v8 thread,