Screensaver on multiple monitors, asl_log mystery solved, I think ...
Screensaver on multiple monitors, asl_log mystery solved, I think ...
- Subject: Screensaver on multiple monitors, asl_log mystery solved, I think ...
- From: Gabriel Zachmann <email@hidden>
- Date: Thu, 10 Feb 2011 18:53:51 +0100
Well, regarding the asl_log mystery, I suppose I should have read the man page more carefully ... (shame on me)
I think, the solution is just that I need to create a client handle *per thread*, like this:
log_client_ = asl_open( "MyApp", NULL, ASL_OPT_NO_DELAY);
...
asl_log( log_client_, log_msg_, ASL_LEVEL_NOTICE, "%s", [msg UTF8String] );
Sorry about that!
Best regards,
Gabriel.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden