BinderGlue.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #include <support/Atom.h>
00014 #include <support/Locker.h>
00015 #include <support/Package.h>
00016 
00017 namespace palmos {
00018 namespace support {
00019 
00020 // This is the pointer to the BSharedObject created for the
00021 // local shared library.
00022 // Note that we MUST only hold a weak reference on it here,
00023 // or else we would never allow the library to be unloaded.
00024 extern SLocker __attribute__ ((visibility("hidden"))) g_sharedObjectLock;
00025 extern wptr<BSharedObject> __attribute__ ((visibility("hidden"))) g_sharedObject;
00026 extern volatile int32_t __attribute__ ((visibility("hidden"))) g_pendingBufferRef;
00027 
00028 }
00029 }