summaryrefslogtreecommitdiff
path: root/ptw32_tkAssocDestroy.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-17 01:38:02 +0000
committerrpj <rpj>2004-05-17 01:38:02 +0000
commit771465fed0cf50ee2dd790723245fc091699c324 (patch)
treed8c18d095a33fe7c4564bd90c5f313bb9e4057dd /ptw32_tkAssocDestroy.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'ptw32_tkAssocDestroy.c')
-rw-r--r--ptw32_tkAssocDestroy.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ptw32_tkAssocDestroy.c b/ptw32_tkAssocDestroy.c
index 0daa434..682b896 100644
--- a/ptw32_tkAssocDestroy.c
+++ b/ptw32_tkAssocDestroy.c
@@ -48,16 +48,15 @@ ptw32_tkAssocDestroy (ThreadKeyAssoc * assoc)
* ie) both the key and thread have stopped referencing it.
*
* Parameters:
- * assoc
- * an instance of ThreadKeyAssoc.
+ * assoc
+ * an instance of ThreadKeyAssoc.
* Returns:
* N/A
* -------------------------------------------------------------------
*/
{
- if ((assoc != NULL) &&
- (assoc->key == NULL && assoc->thread == NULL))
+ if ((assoc != NULL) && (assoc->key == NULL && assoc->thread == NULL))
{
pthread_mutex_destroy (&(assoc->lock));