[vlc-commits] [Git][videolan/vlc][master] 4 commits: vlc_threads: remove the thread priority when creating a thread

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Apr 27 09:12:43 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b469857d by Steve Lhomme at 2022-04-27T08:16:28+00:00
vlc_threads: remove the thread priority when creating a thread

It is not used in POSIX systems. On other system it probably don't make a
difference anymore, only Windows has actual useful values for
VLC_THREAD_PRIORITY_XXX. The synchronization is more important than having some
threads called more often than others.

- - - - -
fcb83785 by Steve Lhomme at 2022-04-27T08:16:28+00:00
input: remove thread priority hacking

It had no effect on POSIX platforms. Thread synchronization and TSAN analysis
is more useful than thread priorities.

- - - - -
f706b7ce by Steve Lhomme at 2022-04-27T08:16:28+00:00
libvlc: remove unused vlc_set_priority()

- - - - -
938016ee by Steve Lhomme at 2022-04-27T08:16:28+00:00
vlc_threads: remove unused VLC_THREAD_PRIORITY values

- - - - -


30 changed files:

- include/vlc_threads.h
- lib/media_list_player.c
- modules/access/alsa.c
- modules/access/cache.c
- modules/access/dv.c
- modules/access/http/h2conn.c
- modules/access/http/h2output.c
- modules/access/http/tunnel_test.c
- modules/access/mms/mmstu.c
- modules/access/rdp.c
- modules/access/rtp/rtp.c
- modules/access/satip.c
- modules/access/screen/wayland.c
- modules/access/v4l2/demux.c
- modules/access/vnc.c
- modules/audio_output/audiotrack.c
- modules/audio_output/directsound.c
- modules/audio_output/mmdevice.c
- modules/codec/dmo/dmo.c
- modules/codec/omxil/mediacodec.c
- modules/control/cli/cli.c
- modules/control/dbus/dbus.c
- modules/control/globalhotkeys/win32.c
- modules/control/globalhotkeys/xcb.c
- modules/control/lirc.c
- modules/control/netsync.c
- modules/control/ntservice.c
- modules/control/win_msg.c
- modules/demux/adaptive/PlaylistManager.cpp
- modules/demux/adaptive/http/Downloader.cpp


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/38d85d937e180b3348693eb1230a3097f2a48c1c...938016ee92c0ec6fd21119d2fcc1b03f727e84d9

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/38d85d937e180b3348693eb1230a3097f2a48c1c...938016ee92c0ec6fd21119d2fcc1b03f727e84d9
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list