Mach Bootstrap_create_server, "server_command" parameter
Mach Bootstrap_create_server, "server_command" parameter
- Subject: Mach Bootstrap_create_server, "server_command" parameter
- From: Michael Prenez-Isbell <email@hidden>
- Date: Mon, 16 Feb 2009 15:37:23 -0500
- Thread-topic: Mach Bootstrap_create_server, "server_command" parameter
Title: Mach Bootstrap_create_server, "server_command" parameter
Mach Bootstrap_create_server, "server_command" parameter
--------------------------------------------------
On the bootstrap_create_server command, one of the parameters is "cmd_t server_command"
In singh's Mac OS X Internals book he gives this example
kr = bootstrap_create_server(bootstrap_port, "/tmp/simple_ipc_server",
getuid(), FALSE, &private_port);
EXIT_ON_MACH_ERROR("bootstrap_create_server", kr, BOOTSTRAP_SUCCESS);
I have no idea what "/tmp/simple_ipc_server" is -- a directory? an executable?
If it’s is an executable, what is it? the same file I'm calling it from?
My problem is that, on bootstrap_check_in, when I try to check in the service I created with bootstrap_create_service, the application freezes.
I am currently setting up launchd with debugging set up. Per amit’s singh’s suggestion in his book.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden