Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
559e1473
Commit
559e1473
authored
Oct 01, 2008
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE: missing threading functions
parent
aafc08e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
include/vlc_threads.h
include/vlc_threads.h
+5
-0
src/misc/threads.c
src/misc/threads.c
+2
-0
No files found.
include/vlc_threads.h
View file @
559e1473
...
...
@@ -356,7 +356,12 @@ typedef CRITICAL_SECTION vlc_spinlock_t;
*/
static
inline
int
vlc_spin_init
(
vlc_spinlock_t
*
spin
)
{
#ifdef UNDER_CE
InitializeCriticalSection
(
spin
);
return
0
;
#else
return
!
InitializeCriticalSectionAndSpinCount
(
spin
,
4000
);
#endif
}
/**
...
...
src/misc/threads.c
View file @
559e1473
...
...
@@ -1061,6 +1061,8 @@ void vlc_control_cancel (int cmd, ...)
#endif
#if defined (LIBVLC_USE_PTHREAD)
pthread_exit
(
PTHREAD_CANCELLED
);
#elif defined (UNDER_CE)
ExitThread
(
0
);
#elif defined (WIN32)
_endthread
();
#else
...
...
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