File: lock.c

package info (click to toggle)
multipath-tools 0.4.7-1.1etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,204 kB
  • ctags: 2,144
  • sloc: ansic: 18,261; makefile: 398; sh: 286
file content (8 lines) | stat: -rw-r--r-- 111 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#include <pthread.h>
#include "lock.h"

void cleanup_lock (void * data)
{
	unlock((pthread_mutex_t *)data);
}