File: EnhanceDevPipeData

package info (click to toggle)
tango 9.3.4%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 95,792 kB
  • sloc: cpp: 138,382; sh: 8,009; ansic: 1,083; makefile: 996; java: 800; python: 264; xml: 54
file content (6 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
/typedef\ _CORBA_ConstrType_Variable_Var<DevPipeData>/a \/\/Added by Tango team \
\t\tvirtual ~DevPipeData() {if (mut_ptr != NULL)mut_ptr->unlock();}\
\t\tDevPipeData() {mut_ptr=NULL;}\
\t\tvoid set_pipe_mutex(omni_mutex *ptr) {mut_ptr=ptr;}\
\t\tvoid rel_pipe_mutex() {if (mut_ptr != NULL){mut_ptr->unlock();mut_ptr=NULL;}}\
\t\tomni_mutex *mut_ptr;