Bugfix: memory and thread-deleting problems
[monky] / src / timed_thread.h
index 533e11f..cc4adcd 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id$ */
-
-/* timed_thread.h: Abstraction layer for timed threads
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ *
+ * timed_thread.h: Abstraction layer for timed threads
  *
  * Copyright (C) 2006-2007 Philip Kovacs pkovacs@users.sourceforge.net
  *
@@ -48,7 +48,8 @@ int timed_thread_lock(timed_thread *p_timed_thread);
 int timed_thread_unlock(timed_thread *p_timed_thread);
 
 /* waits required interval (unless override_wait_time is non-zero) for
- * termination signal returns 1 if received, 0 otherwise. */
+ * termination signal returns 1 if received, 0 otherwise.  should also return 1
+ * if the thread has been asked kindly to die.  */
 int timed_thread_test(timed_thread *p_timed_thread, int override_wait_time);
 
 /* exit a timed thread */