Граф коммитов

145 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org a159227bd0 Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646. r=danm
2001-01-07 09:03:09 +00:00
danm%netscape.com 84daaa9b30 delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan 2000-12-11 21:55:47 +00:00
dmose%mozilla.org 0a3c12b78b Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org 2000-12-08 04:30:36 +00:00
jband%netscape.com b27fc45e0b fix warnings from fix to bug 61369 2000-12-06 19:40:56 +00:00
jband%netscape.com fe62695f13 fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson 2000-11-30 05:24:53 +00:00
danm%netscape.com 06a281a74b ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari 2000-11-28 22:38:02 +00:00
cls%seawood.org 434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
disttsc%bart.nl a8a18302a4 Checking in the correct patch for bug 59526. 2000-11-10 01:30:07 +00:00
edburns%acm.org b1aacc0ff8 bug 59526
sr=waterson
r=valeski

This bullet-proofs the code so the one thread does not exit twice.
2000-11-09 23:49:57 +00:00
brendan%mozilla.org b238fa4ec4 Fix leaks for 'unregistered' monitors and locks (55498, r=beard, sr=jband). 2000-11-01 22:21:28 +00:00
dougt%netscape.com 66479b016a Replaces check for processingEvents. r=danm, darin a=hyatt 2000-10-04 19:47:12 +00:00
mkaply%us.ibm.com 2281d92324 #52455
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.
2000-10-03 00:20:05 +00:00
dougt%netscape.com 25f36f554d Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750 2000-10-01 05:35:03 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
dougt%netscape.com 8af176eece Backing out changes which reduces the number of notifies on the event queue monitor. We still are reducing the number of native notifications. 2000-09-12 04:37:35 +00:00
dougt%netscape.com d4abfb1de7 PLEvent optimizations. Part of bug 50104. This reduces the number notifications. r-valeski@netscape.com 2000-09-11 20:59:56 +00:00
dougt%netscape.com 16835b5d5f Removing Cached Monitors from plevent. They are about 5x slower than
a lock and condvar according to the nspr documentation.  r=valeski

Also I fix a problem where we would wake up from a wait without checking
any data which could cause all sorts of problems.

b=50634
2000-09-01 00:50:51 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dougt%netscape.com 7a11b65ba3 Debuggin code
a=waterson@netscape.com
2000-07-07 04:17:24 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com ed15a3c3c0 # 37239
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm
2000-06-08 14:18:07 +00:00
pavlov%netscape.com 6d72d15bf9 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac 2000-06-05 21:53:25 +00:00
pavlov%netscape.com 9854479716 fix for nsbeta2+ bug 35921 (event notification outlives its event) r=danm,bryner,blizzard 2000-05-31 02:19:17 +00:00
brendan%mozilla.org cceee2aa69 Space cleanup. 2000-05-15 06:21:49 +00:00
mkaply%us.ibm.com 152f6f29e4 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
mkaply%us.ibm.com 505e88817e # 37239
r= dougt@netscape.com
OS/2 bring up continues - need another INCL_
2000-05-01 22:27:21 +00:00
warren%netscape.com e92a3a917a Fixed optimized build problem. 2000-04-21 05:32:59 +00:00
warren%netscape.com 5e96caa8ea Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.) 2000-04-21 05:12:57 +00:00
pavlov%netscape.com 19af2ccf12 use C comments 2000-04-15 04:05:53 +00:00
pavlov%netscape.com 4432eff8e8 hack to fix 35594 so that evaughan can land his box changes 2000-04-14 23:27:19 +00:00
scc%netscape.com c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
rickg%netscape.com 7838b08ad9 removed reference to nsString2 2000-03-26 23:06:01 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
pavlov%netscape.com bfd20afd4c backing out dougt's thread changes r=dougt 2000-03-06 01:13:20 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dougt%netscape.com c673d88d87 Adding dynamic thread allocation to thread pool. Fixes 27736.
Also fixing warning in plevent.c

r=damn, a=chofmann
2000-03-05 21:01:33 +00:00
danm%netscape.com 155b1b253e add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar 2000-03-04 03:17:01 +00:00
danm%netscape.com 3c58d88539 unix-only: allow system notification pipe to drain when event processing is stalled. unpegs CPU when showing certain dialogs. bug 28100. r=dp,pavlov a=jevering 2000-03-02 21:38:19 +00:00
danm%netscape.com 70a674879d just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque. 2000-02-12 00:27:57 +00:00
dougt%netscape.com 48219cc034 Fix for bug 26732. r=danm. event queue need to be able to init a plevent 2000-02-09 02:28:51 +00:00
wtc%netscape.com 77ae2ff6a6 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h
2000-01-28 00:27:37 +00:00
wtc%netscape.com adb2c3f5c4 Bugzilla bug #17101: added plevent.h (same as
mozilla/nsprpub/lib/ds/plevent.h, revision 3.12) and plevent.c
(same as mozilla/nsprpub/lib/ds/plevent.c, revision 3.36) to
mozilla/xpcom/threads.  These two new files have not been added
to the makefiles or project file, so they are not picked up by
the build.
2000-01-25 14:48:51 +00:00
scc%netscape.com cb4567b4c8 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan 2000-01-18 22:19:52 +00:00
dougt%netscape.com d887958ad4 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com bfc6760bd6 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
sspitzer%netscape.com 3a7dedd313 turn off assertions until dougt fixes #22943. r=dougt 2000-01-04 00:14:37 +00:00
dougt%netscape.com bad2d6b476 Adding back the assert since I fixed the problem in the GTK appshell. 1999-12-20 23:12:18 +00:00
sspitzer%netscape.com cc7ea1bbf1 make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
valeski%netscape.com 2f303433fa 21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree. 1999-12-14 22:06:17 +00:00