Skip navigation.
 
mlRe: thread protocol modifiers
FROM : glenn andreas
DATE : Sun Jan 06 04:16:37 2008

On Jan 5, 2008, at 8:35 PM, William Zumwalt wrote:

>> It's hard to say. We need to clear up the point about where
>> (same process or different process) your "server" thread is running.
>>

>
>
> OK, to clarify, my user kicks off a job which causes a thread to 
> start like
> this ...
>
> + (NSConnection *) startNetworkThreadWithTag:(int) tag
>    forController:(id <ClientMethods>) controller
> {
>    ...
>    [NSThread detachNewThreadSelector:@selector(_connectWithPorts:)
>        toTarget:self withObject:portArray];
>


Just as a stylistic matter that should be followed to avoid having 
strange and unexpected problems, don't use the leading underscore. 
From <http://developer.apple.com/documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingMethods.html
>:

> Names of most private methods in the Cocoa frameworks have an 
> underscore prefix (for example,_fooData ) to mark them as private. 
> From this fact follow two recommendations.
>
>     •
> Don’t use the underscore character as a prefix for your private 
> methods. Apple reserves this convention.
>
>
>





Glenn Andreas                      <email_removed>
  <http://www.gandreas.com/> wicked fun!
quadrium | flame : flame fractals & strange attractors : build, 
mutate, evolve, animate



Glenn Andreas                      <email_removed>
  <http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next 
generation of fractal art

Related mailsAuthorDate
mlthread protocol modifiers William Zumwalt Jan 5, 02:06
mlRe: thread protocol modifiers marcelo.alves Jan 5, 02:38
mlRe: thread protocol modifiers John Stiles Jan 5, 02:48
mlRe: thread protocol modifiers William Zumwalt Jan 5, 02:49
mlRe: thread protocol modifiers William Zumwalt Jan 5, 02:54
mlRe: thread protocol modifiers Ken Thomases Jan 5, 08:36
mlRe: thread protocol modifiers James Bucanek Jan 5, 17:09
mlRe: thread protocol modifiers William Zumwalt Jan 5, 22:35
mlRe: thread protocol modifiers William Zumwalt Jan 5, 22:44
mlRe: thread protocol modifiers James Bucanek Jan 6, 02:35
mlRe: thread protocol modifiers James Bucanek Jan 6, 02:35
mlRe: thread protocol modifiers William Zumwalt Jan 6, 03:35
mlRe: thread protocol modifiers glenn andreas Jan 6, 04:16
mlRe: thread protocol modifiers William Zumwalt Jan 6, 04:25
mlRe: thread protocol modifiers James Bucanek Jan 6, 08:04
mlRe: thread protocol modifiers William Zumwalt Jan 6, 09:28
mlRe: thread protocol modifiers Steve Weller Jan 6, 18:55