/[hurd]/hurd/libthreads/cthreads.c
ViewVC logotype

Diff of /hurd/libthreads/cthreads.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by marcus, Wed Jul 31 02:20:44 2002 UTC revision 1.15 by marcus, Wed Jul 31 02:35:14 2002 UTC
# Line 30  Line 30 
30   *      catch is reserved word in c++.   *      catch is reserved word in c++.
31   *   *
32   * $Log$   * $Log$
33     * Revision 1.15  2002/07/31 02:35:14  marcus
34     * Add comment to last change, for the benefit of the next merge :)
35     *
36   * Revision 1.14  2002/07/31 02:20:44  marcus   * Revision 1.14  2002/07/31 02:20:44  marcus
37   * 2002-07-29  Marcus Brinkmann  <marcus@gnu.org>   * 2002-07-29  Marcus Brinkmann  <marcus@gnu.org>
38   *   *
# Line 223  cthread_init(void) Line 226  cthread_init(void)
226    
227          if (cthreads_started)          if (cthreads_started)
228                  return 0;                  return 0;
229    
230            /* cthread_alloc must be called before cproc_init, because
231               malloc is not usable between initializing the new stack and
232               switching to it.  */
233          t = cthread_alloc((cthread_fn_t) 0, (any_t) 0);          t = cthread_alloc((cthread_fn_t) 0, (any_t) 0);
234          stack = cproc_init();          stack = cproc_init();
235          cthread_cprocs = 1;          cthread_cprocs = 1;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26