mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a note about only working with the given data
This commit is contained in:
parent
56117751a8
commit
ede2e89670
10
skins.h
10
skins.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skins.h 4.2 2017/06/21 09:40:39 kls Exp $
|
* $Id: skins.h 4.3 2017/06/23 09:08:40 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SKINS_H
|
#ifndef __SKINS_H
|
||||||
@ -23,9 +23,11 @@
|
|||||||
|
|
||||||
// Several member functions of the following classes are called with a pointer to
|
// Several member functions of the following classes are called with a pointer to
|
||||||
// an object from a global list (cTimer, cChannel, cRecording or cEvent). In these
|
// an object from a global list (cTimer, cChannel, cRecording or cEvent). In these
|
||||||
// cases the core VDR code holds a lock on the respective list. The called function
|
// cases the core VDR code holds a lock on the respective list. While in general a
|
||||||
// may itself set a read lock (not a write lock!) on this list, because read locks
|
// plugin should only work with the objects and data that is explicitly given to it
|
||||||
// can be nested. It may also set read locks (not write locks!) on higher order lists.
|
// in the function call, the called function may itself set a read lock (not a write
|
||||||
|
// lock!) on this list, because read locks can be nested. It may also set read locks
|
||||||
|
// (not write locks!) on higher order lists.
|
||||||
// For instance, a function that is called with a cChannel may lock cRecordings and/or
|
// For instance, a function that is called with a cChannel may lock cRecordings and/or
|
||||||
// cSchedules (which contains cEvent objects), but not cTimers. If a plugin needs to
|
// cSchedules (which contains cEvent objects), but not cTimers. If a plugin needs to
|
||||||
// set locks of its own (on mutexes defined inside the plugin code), it shall do so
|
// set locks of its own (on mutexes defined inside the plugin code), it shall do so
|
||||||
|
10
status.h
10
status.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: status.h 4.2 2017/06/21 09:40:20 kls Exp $
|
* $Id: status.h 4.3 2017/06/23 09:08:24 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __STATUS_H
|
#ifndef __STATUS_H
|
||||||
@ -17,9 +17,11 @@
|
|||||||
|
|
||||||
// Several member functions of the following classes are called with a pointer to
|
// Several member functions of the following classes are called with a pointer to
|
||||||
// an object from a global list (cTimer, cChannel, cRecording or cEvent). In these
|
// an object from a global list (cTimer, cChannel, cRecording or cEvent). In these
|
||||||
// cases the core VDR code holds a lock on the respective list. The called function
|
// cases the core VDR code holds a lock on the respective list. While in general a
|
||||||
// may itself set a read lock (not a write lock!) on this list, because read locks
|
// plugin should only work with the objects and data that is explicitly given to it
|
||||||
// can be nested. It may also set read locks (not write locks!) on higher order lists.
|
// in the function call, the called function may itself set a read lock (not a write
|
||||||
|
// lock!) on this list, because read locks can be nested. It may also set read locks
|
||||||
|
// (not write locks!) on higher order lists.
|
||||||
// For instance, a function that is called with a cChannel may lock cRecordings and/or
|
// For instance, a function that is called with a cChannel may lock cRecordings and/or
|
||||||
// cSchedules (which contains cEvent objects), but not cTimers. If a plugin needs to
|
// cSchedules (which contains cEvent objects), but not cTimers. If a plugin needs to
|
||||||
// set locks of its own (on mutexes defined inside the plugin code), it shall do so
|
// set locks of its own (on mutexes defined inside the plugin code), it shall do so
|
||||||
|
Loading…
Reference in New Issue
Block a user