File: programming/cocoa/Filie.zip/Filie/UliKit/UKThreadMessenger.m


/* =============================================================================
	FILE:		UKThreadMessenger.m
	PROJECT:	Shovel
    
    COPYRIGHT:  (c) 2004 M. Uli Kusterer, all rights reserved.
    
	AUTHORS:	M. Uli Kusterer - UK
    
    LICENSES:   GPL, Modified BSD
 
	REVISIONS:
		2004-10-14	UK	Created.
   ========================================================================== */
 
// -----------------------------------------------------------------------------
//  Headers:
// -----------------------------------------------------------------------------
 
#import "UKThreadMessenger.h"
#include <unistd.h>
//NSLog(@"thread messenger released.");
}
 
// -----------------------------------------------------------------------------
//	release:
//		Since NSThread retains its target, we need this method to terminate the
//      thread when we reach a retain-count of two.
//
//	REVISIONS:
//		2004-11-12	UK	Created.
// -----------------------------------------------------------------------------
// Lower this thread's priority.
//usleep(1);
        }
        [pool release];
    }
    
    //NSLog(@"sendMessages terminated.");
// -----------------------------------------------------------------------------
//	Forwarding unknown methods to the first responder:
// -----------------------------------------------------------------------------
 

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.