Opened 16 years ago
Closed 15 years ago
#3634 closed enhancement (invalid)
Worker thread to fill Mount menu
Reported by: | jonas.kirilla | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Deskbar | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I had the impression the Mount menu was slow to open - it used to be - so I created this worker thread thing. See patch. But now it seems I don't have any prolonged pause before the Mount menu opens, so perhaps this is unnecessary.
The code may be shite anyway, and it would only help Deskbar's Mount menu and not that of Tracker. Put here for safe keeping. (Better here than on the mailinglist?)
Comments?
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | BeMenu.cpp.diff added |
---|
comment:1 by , 16 years ago
That used to be a problem in BeOS, it really shouldn't be one in Haiku, as its device API works differently, and always knows the current status quo.
In any case, the patch attached seems to have some locking issues (ie. it doesn't lock anything, but the menu structures are read/changed from different threads).
BeMenu.cpp.diff