Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
289a2529
Commit
289a2529
authored
Jun 15, 2001
by
Bang Jun-Young
Committed by
Alexandre Julliard
Jun 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use clone() if HAVE_CLONE is defined.
parent
e4a98ec1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sysdeps.c
scheduler/sysdeps.c
+3
-3
No files found.
scheduler/sysdeps.c
View file @
289a2529
...
...
@@ -29,7 +29,7 @@
DEFAULT_DEBUG_CHANNEL
(
thread
);
#if
def linux
#if
defined(linux) || defined(HAVE_CLONE)
# ifdef HAVE_SCHED_H
# include <sched.h>
# endif
...
...
@@ -40,7 +40,7 @@ DEFAULT_DEBUG_CHANNEL(thread);
# define CLONE_SIGHAND 0x00000800
# define CLONE_PID 0x00001000
# endif
/* CLONE_VM */
#endif
/* linux */
#endif
/* linux
|| HAVE_CLONE
*/
/***********************************************************************
* SYSDEPS_SetCurThread
...
...
@@ -91,7 +91,7 @@ int SYSDEPS_SpawnThread( TEB *teb )
{
#ifdef ERRNO_LOCATION
#if
def linux
#if
defined(linux) || defined(HAVE_CLONE)
const
int
flags
=
CLONE_VM
|
CLONE_FS
|
CLONE_FILES
|
SIGCHLD
;
if
(
clone
(
(
int
(
*
)(
void
*
))
SYSDEPS_StartThread
,
teb
->
stack_top
,
flags
,
teb
)
<
0
)
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment