VirtualBox

Changeset 1799 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Sep 21, 2008 1:17:50 AM (16 years ago)
Author:
bird
Message:

kmk: minor incdep adjustments.

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/incdep.c

    r1797 r1799  
    8989
    9090/*******************************************************************************
    91 *   Internal Functions                                                         *
    92 *******************************************************************************/
    93 static void incdep_flush_it (struct floc *);
    94 
    95 
    96 /*******************************************************************************
    9791*   Global Variables                                                           *
    9892*******************************************************************************/
     
    146140static int volatile incdep_terminate;
    147141
     142
     143/*******************************************************************************
     144*   Internal Functions                                                         *
     145*******************************************************************************/
     146static void incdep_flush_it (struct floc *);
    148147
    149148
     
    347346}
    348347
     348/* Thread library specific thread functions wrapping incdep_wroker. */
    349349#ifdef HAVE_PTHREAD
    350350static void *
     
    373373}
    374374#endif
    375 
    376375
    377376/* Creates the the worker threads. */
     
    467466}
    468467
    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(). */
    470470void
    471471incdep_flush_and_term (void)
     
    491491  for (i = 0; i < sizeof (incdep_threads) / sizeof (incdep_threads[0]); i++)
    492492    {
    493       /* later */
     493      /* later? */
    494494    }
    495495
     
    531531  if (!cur)
    532532    {
    533 fprintf (stderr, "empty: %s\n", curdep->name);
    534533      free (curdep);
    535534      return;
     
    10611060}
    10621061
    1063 #endif
    1064 
     1062#endif /* CONFIG_WITH_INCLUDEDEP */
     1063
  • trunk/src/kmk/kbuild.c

    r1797 r1799  
    17041704     * was undefined and footer.kmk always passed an empty string.
    17051705     *
    1706      * Version 2, as implemented in r1796, will make use of the async
     1706     * Version 2, as implemented in r1797, will make use of the async
    17071707     * includedep queue feature. This means the files will be read by one or
    17081708     * more background threads, leaving the eval'ing to be done later on by
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette