Print this page
3946 ::gcore
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
*** 21,36 ****
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_LWP_H
#define _SYS_LWP_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/synch.h>
#include <sys/ucontext.h>
#ifdef __cplusplus
extern "C" {
--- 21,37 ----
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+ /*
+ * Copyright (c) 2013 by Delphix. All rights reserved.
+ */
#ifndef _SYS_LWP_H
#define _SYS_LWP_H
#include <sys/synch.h>
#include <sys/ucontext.h>
#ifdef __cplusplus
extern "C" {
*** 62,81 ****
int32_t lwpinfo_pad[64];
};
#endif /* _SYSCALL32 */
#define _LWP_FSBASE 0
#define _LWP_GSBASE 1
#define _LWP_SETPRIVATE 0
#define _LWP_GETPRIVATE 1
#ifndef _KERNEL
- typedef uint_t lwpid_t;
-
int _lwp_kill(lwpid_t, int);
int _lwp_info(struct lwpinfo *);
lwpid_t _lwp_self(void);
int _lwp_suspend(lwpid_t);
int _lwp_continue(lwpid_t);
--- 63,82 ----
int32_t lwpinfo_pad[64];
};
#endif /* _SYSCALL32 */
+ typedef uint_t lwpid_t;
+
#define _LWP_FSBASE 0
#define _LWP_GSBASE 1
#define _LWP_SETPRIVATE 0
#define _LWP_GETPRIVATE 1
#ifndef _KERNEL
int _lwp_kill(lwpid_t, int);
int _lwp_info(struct lwpinfo *);
lwpid_t _lwp_self(void);
int _lwp_suspend(lwpid_t);
int _lwp_continue(lwpid_t);