X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f5e8daaa6e9f74521068aa75837200bcd182ea6..20facf82f92baf2401e73847b694eea761622a4c:/include/xbt/win32_ucontext.h?ds=sidebyside diff --git a/include/xbt/win32_ucontext.h b/include/xbt/win32_ucontext.h index 4b85617841..eb4f8d250b 100644 --- a/include/xbt/win32_ucontext.h +++ b/include/xbt/win32_ucontext.h @@ -15,7 +15,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with QueueUserAPCEx in the file COPYING.LIB; + * License along with SimGrid in the file LICENSE-LGPL-2.1; * if not, write to the Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ @@ -24,23 +24,23 @@ #define UCONTEXT_H #include - typedef struct __stack { - void *ss_sp; - size_t ss_size; - int ss_flags; - } stack_t; - typedef CONTEXT mcontext_t; - typedef unsigned long __sigset_t; - typedef struct __ucontext { - unsigned long int uc_flags; - struct __ucontext *uc_link; - stack_t uc_stack; - mcontext_t uc_mcontext; - __sigset_t uc_sigmask; - } ucontext_t; - int getcontext(ucontext_t * ucp); - int setcontext(const ucontext_t * ucp); - int makecontext(ucontext_t *, void (*)(), int, ...); - int swapcontext(ucontext_t *, const ucontext_t *); + typedef struct __stack { + void *ss_sp; + size_t ss_size; + int ss_flags; + } stack_t; + typedef CONTEXT mcontext_t; + typedef unsigned long __sigset_t; + typedef struct __ucontext { + unsigned long int uc_flags; + struct __ucontext *uc_link; + stack_t uc_stack; + mcontext_t uc_mcontext; + __sigset_t uc_sigmask; + } ucontext_t; + int getcontext(ucontext_t * ucp); + int setcontext(const ucontext_t * ucp); + int makecontext(ucontext_t *, void (*)(), int, ...); + int swapcontext(ucontext_t *, const ucontext_t *); #endif /* UCONTEXT_H */