Commit Graph

114 Commits

Author SHA1 Message Date
Ingo Weinhold
6bfd06d1ff BRoster::Launch() eventually launches the application in question
in several steps:
1. early pre-registration with the registrar ("I wanna launch the
   app, make sure noone interferes.")
2. load the app image
3. finish pre-registration with the registrar ("I have launched
   the app, here is its team ID.")
4. start app main thread
5. send "on launch" messages to the app (argv, refs, others)

If the app is already running or being launched, 1. fails with a
conclusive error code and returns the team ID and the pre-registration
token of the app. Steps 2 - 4 are skipped and only the messages are
delivered using the team ID returned by 1.

This change fixes a race condition: The failed early pre-registration
request obviously cannot return the team ID, if the other thread
launching the app has not finished step 3 yet. Thus the argv/refs
message would not get delivered and Launch() would not return the
correct team ID.

Now we wait for the pre-registration to be finished in this case, using
the former _IsAppPreRegistered() mechanism, which already provided
such a waiting feature for one request. It has been extended to
accomodate an arbitrary number of waiting requests and renamed to
_IsAppRegistered().

This fixed bug #763.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 17:54:16 +00:00
Axel Dörfler
cd1e67ac69 Reworked the parts that are affected by the reintroduction of the datalink module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-21 09:48:33 +00:00
Axel Dörfler
7e24384c6e Added the basic overview for the stack that I posted to the list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-21 09:34:45 +00:00
Axel Dörfler
c25e9351af * Removed some superfluous documents.
* Moved the documentation that might still be helpful into an "obsolete" directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-21 09:33:34 +00:00
Ingo Weinhold
15424f3d37 Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes
for shared object files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:41:07 +00:00
Michael Lotz
69db808ea3 Add a documentation of the Dano message format. These are my findings from looking at flattened Dano messages. I will adjust the Dano message reader accordingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 00:17:34 +00:00
Ingo Weinhold
2fd4a0411b Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:37:11 +00:00
Ingo Weinhold
a13df0dc01 Added a "confirm" parameter to BRoster::Shutdown() which causes the registrar
to ask the user to confirm shutting down the system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:23:28 +00:00
Ingo Weinhold
925d069d23 * Added BRoster::ShutDown().
* Adjusted the shutdown command to use BRoster::ShutDown(). Removed
  the alert.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 17:04:47 +00:00
Axel Dörfler
24cea645f1 Moved all documentation out of the device_manager.h header file to this place.
We might want to use it as a basis for the device manager documentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-11 16:40:13 +00:00
Niels Sascha Reedijk
6256385fde *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 21:23:13 +00:00
ejakowatz
380156b567 Clarified the format, in particular with regard to how 'mini' vs. 'maxi'
data effects field sizes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-02 20:49:35 +00:00
Ingo Weinhold
eb98f8c339 Squashed several TODO items by changing the Storage Kit <-> Kernel interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:04:41 +00:00
Philippe Houdoin
7d374a5e1c s/OpenBeOS/Haiku/g on html pages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 17:05:14 +00:00
mahlzeit
a435c710ab Updated to-do list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 15:00:06 +00:00
mahlzeit
e16d0060fe More docs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 09:49:32 +00:00
mahlzeit
6e1f5a7301 Hi Korli!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 09:12:43 +00:00
mahlzeit
c0a1fb7e87 Added note about the MPU401 chip.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 08:58:36 +00:00
Stefano Ceccherini
bf7833a73a BRegion tests results, for reference
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 10:58:22 +00:00
Ingo Weinhold
ec54625e5e Added TODO item: As reported by Axel BVolume::SetName() should rename the mount point as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-08 22:45:13 +00:00
Philippe Houdoin
9867f08a8e Add a new page to describe the network stack userland debugging environment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-12 23:57:48 +00:00
Philippe Houdoin
c110aa422b Add a work-in-progress document about R5 binary compatibility issue(s).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 18:18:06 +00:00
Ingo Weinhold
dccf026397 Updated the item about BDirectory::Contains().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-03 16:26:14 +00:00
Jérôme Duval
37981892ff Fixed, hope this one will be ok
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 15:38:55 +00:00
Jérôme Duval
82b1ee805e Fixed, hope this one will be ok
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 15:35:08 +00:00
beveloper
de4189ef2b configuration settings file for the new codec api
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-28 22:12:33 +00:00
Niels Sascha Reedijk
365d034c1e Update the doc to confirm better to my plan.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 12:20:43 +00:00
Niels Sascha Reedijk
a82ea040d1 Did some more designing:
- Borrowed the UHCI basic theory of operation from the freebsd handbook
- Started some work on the internals of devices


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-14 17:58:13 +00:00
Niels Sascha Reedijk
1501c2bf3e This is just an outline of the USB stack: what it is going to look like. It is definately not
ready for testing. Also the documentation is far from complete (it's in it's early phases).
Unfortunately I don't have enough experience in hardware programming to prototype
it first, so I'll be testing the things that I design in the document.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-12 20:36:24 +00:00
DarkWyrm
e2c2a10c48 Another good, free Bitstream font for our use
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:35:50 +00:00
DarkWyrm
94cb09f31a added documentation for system fonts added to the tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:25:18 +00:00
Marc Flerackers
e793a55e78 Added some information found while writing BPicture, TPicture and ServerPicture
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 14:43:27 +00:00
Niels Sascha Reedijk
32af767502 Update build documentation to acknowledge the new 'jam install-networking' rule
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-22 18:09:15 +00:00
Philippe Houdoin
818066e6fc Fix a missing return carriage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-18 16:38:26 +00:00
Philippe Houdoin
81fff049c0 Add BONE disabling instructions to avoid a quick KDL trip.
Re-enable being Net+ friendly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 01:15:37 +00:00
Niels Sascha Reedijk
1e90e22397 Updated build instructions. This may attract more testers of the network kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-16 04:44:15 +00:00
Tyler Dauwalder
fc14e78461 DiskDeviceAPI Protocols v2.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:40:29 +00:00
Tyler Dauwalder
4ca811957a DiskDeviceAPI Protocols v2.0
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:39:56 +00:00
ejakowatz
857609dab7 Updated with clarifying info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:48:44 +00:00
Philippe Houdoin
ad18c24776 Forgot to check-in this document...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-21 22:55:05 +00:00
Philippe Houdoin
d770ad3536 Updated network documentation files to match recent cvs changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-17 13:06:30 +00:00
Philippe Houdoin
552edc59bd Oops, forgot to fix this one...
Not a usefull documentation, still.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-31 23:39:21 +00:00
Philippe Houdoin
6619ee31cf Exploding the Network Kit documentation into several pages.
Will need more writing...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-25 09:56:56 +00:00
Philippe Houdoin
c911883b21 It's never too late to start write small documentation about the network kit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-24 22:30:29 +00:00
mahlzeit
d89d006239 new docs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:21:51 +00:00
mahlzeit
fc89f8b55a explained Tempo Change event
explained AllNotesOff function


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-17 22:21:10 +00:00
mahlzeit
3b101c8633 New design docs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-10 19:23:14 +00:00
DarkWyrm
e16ebaf892 Added documentation for BGET manager pool allocator for app_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 23:58:24 +00:00
Ingo Weinhold
79cf70b37a Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:35:13 +00:00
Marc Flerackers
657004ba9b Updated the specs after writing BShape
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-05 14:44:53 +00:00