Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1d5cb9d2
Commit
1d5cb9d2
authored
Jul 04, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Get rid of the no longer used wine/pthread.h.
parent
4fda657a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
69 deletions
+3
-69
pthread.h
include/wine/pthread.h
+0
-67
port.c
libs/wine/port.c
+3
-2
No files found.
include/wine/pthread.h
deleted
100644 → 0
View file @
4fda657a
/*
* Definitions for Wine pthread emulation
*
* Copyright 2003 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_WINE_PTHREAD_H
#define __WINE_WINE_PTHREAD_H
struct
wine_pthread_callbacks
;
#include <signal.h>
#ifndef HAVE_SIGSET_T
struct
sigset_t
;
typedef
struct
sigset_t
sigset_t
;
#endif
/* thread information used to creating and exiting threads */
struct
wine_pthread_thread_info
{
void
*
stack_base
;
/* base address of the stack */
size_t
stack_size
;
/* size of the stack */
void
*
teb_base
;
/* base address of the TEB */
size_t
teb_size
;
/* size of the TEB (possibly including signal stack) */
unsigned
short
teb_sel
;
/* selector to use for TEB */
int
pid
;
/* Unix process id */
int
tid
;
/* Unix thread id */
void
(
*
entry
)(
struct
wine_pthread_thread_info
*
info
);
/* thread entry point */
long
exit_status
;
/* thread exit status when calling wine_pthread_exit_thread */
};
struct
wine_pthread_functions
{
void
(
*
init_process
)(
const
struct
wine_pthread_callbacks
*
callbacks
,
size_t
size
);
void
(
*
init_thread
)(
struct
wine_pthread_thread_info
*
info
);
int
(
*
create_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
init_current_teb
)(
struct
wine_pthread_thread_info
*
info
);
void
*
(
*
get_current_teb
)(
void
);
#ifdef __GNUC__
void
(
*
__attribute__
((
noreturn
))
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
__attribute__
((
noreturn
))
abort_thread
)(
long
status
);
#else
void
(
*
exit_thread
)(
struct
wine_pthread_thread_info
*
info
);
void
(
*
abort_thread
)(
long
status
);
#endif
int
(
*
sigprocmask
)(
int
how
,
const
sigset_t
*
newset
,
sigset_t
*
oldset
);
};
extern
void
wine_pthread_get_functions
(
struct
wine_pthread_functions
*
functions
,
size_t
size
);
extern
void
wine_pthread_set_functions
(
const
struct
wine_pthread_functions
*
functions
,
size_t
size
);
#endif
/* __WINE_WINE_PTHREAD_H */
libs/wine/port.c
View file @
1d5cb9d2
...
...
@@ -26,9 +26,10 @@
#include <sys/types.h>
#include "wine/library.h"
#include "wine/pthread.h"
static
struct
wine_pthread_functions
pthread_functions
;
/* no longer used, for backwards compatibility only */
struct
wine_pthread_functions
;
static
void
*
pthread_functions
[
8
];
/***********************************************************************
* wine_pthread_get_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