Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7108136d
Commit
7108136d
authored
May 21, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE does not support spin locks
parent
191b7a9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
include/vlc_threads.h
include/vlc_threads.h
+1
-6
No files found.
include/vlc_threads.h
View file @
7108136d
...
...
@@ -271,7 +271,7 @@ static inline void vlc_spin_destroy (vlc_spinlock_t *spin)
pthread_spin_destroy
(
spin
);
}
#elif defined
( WIN32
)
#elif defined
(WIN32) && !defined (UNDER_CE
)
typedef
CRITICAL_SECTION
vlc_spinlock_t
;
...
...
@@ -280,12 +280,7 @@ 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
}
/**
...
...
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