Logo Search packages:      
Sourcecode: jmp version File versions  Download package

deadlock_detector.h

#ifndef DEADLOCK_DETECTOR_H__
#define DEADLOCK_DETECTOR_H__

#include <heap_dump.h>

typedef struct visited_threads visited_threads;

struct visited_threads {
    monitor_info* mi;
    visited_threads* next;
};

void detect_deadlock (hashtab* monitors);

#endif /* DEADLOCK_DETECTOR_H__ */

/* Emacs Local Variables: */
/* Emacs mode:C */
/* Emacs c-indentation-style:"gnu" */
/* Emacs c-hanging-braces-alist:((brace-list-open)(brace-entry-open)(defun-open after)(substatement-open after)(block-close . c-snug-do-while)(extern-lang-open after)) */
/* Emacs c-cleanup-list:(brace-else-brace brace-elseif-brace space-before-funcall) */
/* Emacs c-basic-offset:4 */
/* Emacs End: */

Generated by  Doxygen 1.6.0   Back to index