Changeset 1799 in kBuild for trunk/src/kmk
- Timestamp:
- Sep 21, 2008 1:17:50 AM (16 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/incdep.c
r1797 r1799 89 89 90 90 /******************************************************************************* 91 * Internal Functions *92 *******************************************************************************/93 static void incdep_flush_it (struct floc *);94 95 96 /*******************************************************************************97 91 * Global Variables * 98 92 *******************************************************************************/ … … 146 140 static int volatile incdep_terminate; 147 141 142 143 /******************************************************************************* 144 * Internal Functions * 145 *******************************************************************************/ 146 static void incdep_flush_it (struct floc *); 148 147 149 148 … … 347 346 } 348 347 348 /* Thread library specific thread functions wrapping incdep_wroker. */ 349 349 #ifdef HAVE_PTHREAD 350 350 static void * … … 373 373 } 374 374 #endif 375 376 375 377 376 /* Creates the the worker threads. */ … … 467 466 } 468 467 469 /* Flushes outstanding work and terminates the worker threads. */ 468 /* Flushes outstanding work and terminates the worker threads. 469 This is called from snap_deps(). */ 470 470 void 471 471 incdep_flush_and_term (void) … … 491 491 for (i = 0; i < sizeof (incdep_threads) / sizeof (incdep_threads[0]); i++) 492 492 { 493 /* later */493 /* later? */ 494 494 } 495 495 … … 531 531 if (!cur) 532 532 { 533 fprintf (stderr, "empty: %s\n", curdep->name);534 533 free (curdep); 535 534 return; … … 1061 1060 } 1062 1061 1063 #endif 1064 1062 #endif /* CONFIG_WITH_INCLUDEDEP */ 1063 -
trunk/src/kmk/kbuild.c
r1797 r1799 1704 1704 * was undefined and footer.kmk always passed an empty string. 1705 1705 * 1706 * Version 2, as implemented in r179 6, will make use of the async1706 * Version 2, as implemented in r1797, will make use of the async 1707 1707 * includedep queue feature. This means the files will be read by one or 1708 1708 * more background threads, leaving the eval'ing to be done later on by
Note:
See TracChangeset
for help on using the changeset viewer.