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
17c09347
Commit
17c09347
authored
Mar 30, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Don't bother checking for pthread.h existence, we require it anyway.
parent
5170b1b4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
53 deletions
+2
-53
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-3
main.c
loader/main.c
+1
-3
main.h
loader/main.h
+0
-2
pthread.c
loader/pthread.c
+0
-45
No files found.
dlls/ntdll/ntdll_misc.h
View file @
17c09347
...
@@ -22,9 +22,7 @@
...
@@ -22,9 +22,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include <signal.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/types.h>
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
# include <pthread.h>
#endif
#include "windef.h"
#include "windef.h"
#include "winnt.h"
#include "winnt.h"
...
...
loader/main.c
View file @
17c09347
...
@@ -33,9 +33,7 @@
...
@@ -33,9 +33,7 @@
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
#endif
#endif
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
# include <pthread.h>
#endif
#include "wine/library.h"
#include "wine/library.h"
#include "main.h"
#include "main.h"
...
...
loader/main.h
View file @
17c09347
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
#ifndef __WINE_LOADER_MAIN_H
#ifndef __WINE_LOADER_MAIN_H
#define __WINE_LOADER_MAIN_H
#define __WINE_LOADER_MAIN_H
#include "wine/pthread.h"
struct
wine_preload_info
struct
wine_preload_info
{
{
void
*
addr
;
void
*
addr
;
...
...
loader/pthread.c
View file @
17c09347
...
@@ -39,9 +39,7 @@
...
@@ -39,9 +39,7 @@
#include <sys/ucontext.h>
#include <sys/ucontext.h>
#include <sys/thr.h>
#include <sys/thr.h>
#endif
#endif
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
#include <pthread.h>
#endif
#ifdef HAVE_PTHREAD_NP_H
#ifdef HAVE_PTHREAD_NP_H
#include <pthread_np.h>
#include <pthread_np.h>
#endif
#endif
...
@@ -49,8 +47,6 @@
...
@@ -49,8 +47,6 @@
#include "wine/library.h"
#include "wine/library.h"
#include "wine/pthread.h"
#include "wine/pthread.h"
#ifdef HAVE_PTHREAD_H
static
int
init_done
;
static
int
init_done
;
static
int
nb_threads
=
1
;
static
int
nb_threads
=
1
;
...
@@ -223,47 +219,6 @@ static void DECLSPEC_NORETURN abort_thread( long status )
...
@@ -223,47 +219,6 @@ static void DECLSPEC_NORETURN abort_thread( long status )
pthread_exit
(
(
void
*
)
status
);
pthread_exit
(
(
void
*
)
status
);
}
}
#else
/* HAVE_PTHREAD_H */
static
void
init_process
(
const
struct
wine_pthread_callbacks
*
callbacks
,
size_t
size
)
{
}
static
void
init_thread
(
struct
wine_pthread_thread_info
*
info
)
{
}
static
int
create_thread
(
struct
wine_pthread_thread_info
*
info
)
{
return
-
1
;
}
static
void
init_current_teb
(
struct
wine_pthread_thread_info
*
info
)
{
}
static
void
*
get_current_teb
(
void
)
{
return
NULL
;
}
static
void
DECLSPEC_NORETURN
exit_thread
(
struct
wine_pthread_thread_info
*
info
)
{
abort
();
}
static
void
DECLSPEC_NORETURN
abort_thread
(
long
status
)
{
abort
();
}
static
int
pthread_sigmask
(
int
how
,
const
sigset_t
*
newset
,
sigset_t
*
oldset
)
{
return
-
1
;
}
#endif
/* HAVE_PTHREAD_H */
/***********************************************************************
/***********************************************************************
* pthread_functions
* pthread_functions
...
...
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