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
10109e60
Commit
10109e60
authored
Jul 12, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused functions suspend/remove_all_threads.
parent
e9782fa1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
thread.c
server/thread.c
+0
-18
thread.h
server/thread.h
+0
-2
No files found.
server/thread.c
View file @
10109e60
...
...
@@ -287,24 +287,6 @@ int resume_thread( struct thread *thread )
return
old_count
;
}
/* suspend all threads but the current */
void
suspend_all_threads
(
void
)
{
struct
thread
*
thread
;
for
(
thread
=
first_thread
;
thread
;
thread
=
thread
->
next
)
if
(
thread
!=
current
)
suspend_thread
(
thread
,
0
);
}
/* resume all threads but the current */
void
resume_all_threads
(
void
)
{
struct
thread
*
thread
;
for
(
thread
=
first_thread
;
thread
;
thread
=
thread
->
next
)
if
(
thread
!=
current
)
resume_thread
(
thread
);
}
/* add a thread to an object wait queue; return 1 if OK, 0 on error */
int
add_queue
(
struct
object
*
obj
,
struct
wait_queue_entry
*
entry
)
{
...
...
server/thread.h
View file @
10109e60
...
...
@@ -94,8 +94,6 @@ extern struct thread *get_thread_from_handle( handle_t handle, unsigned int acce
extern
struct
thread
*
get_thread_from_pid
(
int
pid
);
extern
int
suspend_thread
(
struct
thread
*
thread
,
int
check_limit
);
extern
int
resume_thread
(
struct
thread
*
thread
);
extern
void
suspend_all_threads
(
void
);
extern
void
resume_all_threads
(
void
);
extern
int
add_queue
(
struct
object
*
obj
,
struct
wait_queue_entry
*
entry
);
extern
void
remove_queue
(
struct
object
*
obj
,
struct
wait_queue_entry
*
entry
);
extern
void
kill_thread
(
struct
thread
*
thread
,
int
violent_death
);
...
...
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