Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC
Commits
6e6c2850
Commit
6e6c2850
authored
Jan 10, 2021
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads: remove vlc_rwlock_destroy()
parent
4bf5c6f7
Pipeline
#57423
failed with stages
in 21 minutes and 57 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
15 deletions
+0
-15
include/vlc_threads.h
include/vlc_threads.h
+0
-8
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/misc/messages.c
src/misc/messages.c
+0
-1
src/misc/threads.c
src/misc/threads.c
+0
-5
No files found.
include/vlc_threads.h
View file @
6e6c2850
...
...
@@ -544,17 +544,9 @@ typedef struct vlc_rwlock
/**
* Initializes a read/write lock.
*
* After use, a read/write lock must be deinitialized with
* vlc_rwlock_destroy().
*/
VLC_API
void
vlc_rwlock_init
(
vlc_rwlock_t
*
);
/**
* Destroys an initialized unused read/write lock.
*/
VLC_API
void
vlc_rwlock_destroy
(
vlc_rwlock_t
*
);
/**
* Acquires a read/write lock for reading.
*
...
...
src/libvlccore.sym
View file @
6e6c2850
...
...
@@ -651,7 +651,6 @@ vlc_lrand48
vlc_mrand48
vlc_qsort
vlc_restorecancel
vlc_rwlock_destroy
vlc_rwlock_init
vlc_rwlock_rdlock
vlc_rwlock_unlock
...
...
src/misc/messages.c
View file @
6e6c2850
...
...
@@ -332,7 +332,6 @@ static void vlc_LogSwitchClose(void *d)
logswitch
->
backend
=
&
discard_log
;
backend
->
ops
->
destroy
(
backend
);
vlc_rwlock_destroy
(
&
logswitch
->
lock
);
free
(
logswitch
);
}
...
...
src/misc/threads.c
View file @
6e6c2850
...
...
@@ -391,11 +391,6 @@ void vlc_rwlock_init (vlc_rwlock_t *lock)
lock
->
state
=
0
;
}
void
vlc_rwlock_destroy
(
vlc_rwlock_t
*
lock
)
{
(
void
)
lock
;
}
void
vlc_rwlock_rdlock
(
vlc_rwlock_t
*
lock
)
{
vlc_mutex_lock
(
&
lock
->
mutex
);
...
...
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