Skip to content
Snippets Groups Projects
Commit 03a38d1c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

os2: do not (re)initialise config lock

This is a static lock. As of 4.0.0-dev-11158-ga18c4d6570, there are no
needs to initialise static locks on OS/2.
parent 12ebbfb1
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,6 @@ static ULONG vlc_Sleep (ULONG ulTimeout)
static vlc_mutex_t super_mutex;
static vlc_cond_t super_variable;
extern vlc_rwlock_t config_lock;
int _CRT_init(void);
void _CRT_term(void);
......@@ -151,12 +150,10 @@ unsigned long _System _DLL_InitTerm(unsigned long hmod, unsigned long flag)
vlc_mutex_init (&super_mutex);
vlc_cond_init (&super_variable);
vlc_threadvar_create (&thread_key, NULL);
vlc_rwlock_init (&config_lock);
return 1;
case 1 : /* Termination */
vlc_rwlock_destroy (&config_lock);
vlc_threadvar_delete (&thread_key);
_CRT_term();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment