Registrar Tasks:
Registrar Internals:

The registrar is a non-standard BApplication. It has a shadow app in the app_server like a normal BApplication, but one of its ports is slightly different: Since BLooper::port_id is private to BLooper (to whom BApplication is a friend), and since you can't rename a port after it's been created, it's likely that the only way to rename the AppLooperPort and have the registrar still be a BApplication is to have BApplication check if it's the registrar when it's created, and use _roster_port_ as the name for what would otherwise be its AppLooperPort.

The rationale behind having a port with a specific name is that the registrar implements the roster functionality. Thus one can't address it using the app signature constructor of BMessenger, but rather must send the message directly to a named port (for example, upon creation, a BApplication object must find and contact the registrar to notify it of another running application; if the registrar cannot be found, the application putzes out).

The Registrar has three threads:
BMimeType Notes:
Links: