[interfacekit] linking app_server to libbe

> I'm curious: Do you know any reason for using flattened BMessages? AFAIK
> (unlike ours) the R5 app server is not linked against libbe and therefore
> has to do similar hackery as the kernel to produce those. 

So as I understand it, app_server is not linked against libbe because
libbe is designed so that on loading, the global be_app variable is
initialized.  Which process would probably lock up if the app_server
weren't running yet.

Is it unreasonable for, instead, the global be_app variable to be
initialized the first time by the BApplication constructor, which would
fail if the be_app global variable has a non-null value?  This way,
app_server could link and use all the goodies in libbe, so long as it
doesn't try to make a BApplication object.

Isaac


Other related posts: