/[hurd]/hurd/libthreads/i386/thread.c
ViewVC logotype

Diff of /hurd/libthreads/i386/thread.c

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

revision 1.5 by roland, Sat Mar 31 23:03:03 2001 UTC revision 1.6 by roland, Sat Dec 22 21:02:31 2001 UTC
# Line 26  Line 26 
26  /*  /*
27   * HISTORY   * HISTORY
28   * $Log$   * $Log$
29     * Revision 1.6  2001/12/22 21:02:31  roland
30     * 2001-12-22  Roland McGrath  <roland@frob.com>
31     *
32     *      * i386/thread.c (cthread_sp): Use __thread_stack_pointer.
33     *
34   * Revision 1.5  2001/03/31 23:03:03  roland   * Revision 1.5  2001/03/31 23:03:03  roland
35   * 2001-03-31  Roland McGrath  <roland@frob.com>   * 2001-03-31  Roland McGrath  <roland@frob.com>
36   *   *
# Line 134  cproc_setup(child, thread, routine) Line 139  cproc_setup(child, thread, routine)
139  int  int
140  cthread_sp()  cthread_sp()
141  {  {
142          int x;          return (int) __thread_stack_pointer ();
   
         return (int) &x;  
143  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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