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
5035a028
Commit
5035a028
authored
May 13, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move vlc_atomic_t to <vlc_atomic.h> and correct definition
parent
e245cb85
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
include/vlc_atomic.h
include/vlc_atomic.h
+8
-0
include/vlc_common.h
include/vlc_common.h
+0
-9
include/vlc_picture.h
include/vlc_picture.h
+1
-0
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+0
-1
modules/gui/qt4/dialogs/messages.hpp
modules/gui/qt4/dialogs/messages.hpp
+1
-0
src/audio_output/aout_internal.h
src/audio_output/aout_internal.h
+2
-0
No files found.
include/vlc_atomic.h
View file @
5035a028
...
...
@@ -203,6 +203,14 @@ bool vlc_atomic_compare_exchange(volatile void *object, void *expected,
# endif
/**
* Memory storage space for an atom. Never access it directly.
*/
typedef
union
{
atomic_uintptr_t
u
;
}
vlc_atomic_t
;
/** Static initializer for \ref vlc_atomic_t */
# define VLC_ATOMIC_INIT(val) { (val) }
...
...
include/vlc_common.h
View file @
5035a028
...
...
@@ -444,15 +444,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
#include "vlc_mtime.h"
#include "vlc_threads.h"
/**
* Memory storage space for an atom. Never access it directly.
*/
typedef
union
{
volatile
uintptr_t
u
;
volatile
intptr_t
s
;
}
vlc_atomic_t
;
/*****************************************************************************
* Common structure members
*****************************************************************************/
...
...
include/vlc_picture.h
View file @
5035a028
...
...
@@ -32,6 +32,7 @@
*/
#include <vlc_es.h>
#include <vlc_atomic.h>
/** Description of a planar graphic field */
typedef
struct
plane_t
...
...
modules/gui/qt4/dialogs/messages.cpp
View file @
5035a028
...
...
@@ -25,7 +25,6 @@
#endif
#include "dialogs/messages.hpp"
#include <vlc_atomic.h>
#include <QTextEdit>
#include <QTextCursor>
...
...
modules/gui/qt4/dialogs/messages.hpp
View file @
5035a028
...
...
@@ -28,6 +28,7 @@
#include "util/singleton.hpp"
#include "ui/messages_panel.h"
#include <stdarg.h>
#include <vlc_atomic.h>
class
QTabWidget
;
class
QPushButton
;
...
...
src/audio_output/aout_internal.h
View file @
5035a028
...
...
@@ -24,6 +24,8 @@
#ifndef LIBVLC_AOUT_INTERNAL_H
# define LIBVLC_AOUT_INTERNAL_H 1
# include <vlc_atomic.h>
/* Max input rate factor (1/4 -> 4) */
# define AOUT_MAX_INPUT_RATE (4)
...
...
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