Opened 11 years ago

Closed 10 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:
Has a Patch: no Platform: All


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?)


Attachments (1)

BeMenu.cpp.diff (1017 bytes ) - added by jonas.kirilla 11 years ago.

Download all attachments as: .zip

Change History (3)

by jonas.kirilla, 11 years ago

Attachment: BeMenu.cpp.diff added


comment:1 by axeld, 11 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).

comment:2 by jackburton, 10 years ago

Resolution: invalid
Status: newclosed

Not necessary in Haiku.

Note: See TracTickets for help on using tickets.