~ubuntu-branches/ubuntu/saucy/mutextrace/saucy-proposed

« back to all changes in this revision

Viewing changes to mutex_destroy.c

  • Committer: Bazaar Package Importer
  • Author(s): Simon Richter
  • Date: 2009-11-30 15:26:21 UTC
  • Revision ID: james.westby@ubuntu.com-20091130152621-kxucetq7b43lx9fu
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef HAVE_CONFIG_H
 
2
#include <config.h>
 
3
#endif
 
4
 
 
5
#include "store.h"
 
6
#include "real.h"
 
7
 
 
8
#include <stdio.h>
 
9
 
 
10
int pthread_mutex_destroy(pthread_mutex_t *mutex)
 
11
{
 
12
    struct mutex *n = find_mutex(mutex);
 
13
 
 
14
    fprintf(stderr, "destroy #%u\n", n->num);
 
15
 
 
16
    return real_mutex_destroy(mutex);
 
17
}