106 Commits

Author SHA1 Message Date
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
dougt%netscape.com
0a71a2d506 Added an assert and return so that eventQs only get
processed on the owning thread.  This fixes at least
18005 and 17065.  r=damn@netscape.com, a=chofmann.
1999-12-13 23:05:31 +00:00
dp%netscape.com
e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dp%netscape.com
aa23a77403 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-12-01 00:21:53 +00:00
dougt%netscape.com
c031e1c389 Fix for 18078. R=mstoltz,warren 1999-11-30 00:14:55 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dougt%netscape.com
490e502cc6 fix for bug 18114. Adding simple accessor to PL_WaitForEvent. 1999-11-16 16:04:14 +00:00
jband%netscape.com
8369137469 r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock 1999-11-15 22:15:27 +00:00
pepper%netscape.com
e541e3cf6e Changed friend declaration to make HP Compilers Happy.
r=mgleeson
1999-11-11 00:39:59 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
danm%netscape.com
d9cffd60b6 instead of using the thread hashtable's enumerator while processing events (a Mac-specific habit), build and use a parallel linked list structure. hashtable and list want unification someday. fixes bug 16551. r:brendan@netscape.com 1999-11-03 05:30:49 +00:00
danm%netscape.com
b9aa00d5ce fixing obvious flaw in Unlink. r:waterson@netscape.com 1999-10-20 08:35:04 +00:00
danm%netscape.com
2849f7a812 retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com 1999-10-19 22:00:12 +00:00
danm%netscape.com
7fc86226d9 added CreateFromIThread. r:valeski@netscape.com 1999-10-19 19:18:27 +00:00
danm%netscape.com
588868b60c event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com 1999-10-18 14:59:57 +00:00
danm%netscape.com
81e0c798a7 new r:hyatt@netscape.com 1999-10-18 14:57:07 +00:00
warren%netscape.com
1df0904cc1 Fixed build warnings. 1999-10-06 08:51:48 +00:00
valeski%netscape.com
d66cd6ac49 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
shaver%netscape.com
3948cf5000 need to use different module names to avoid overwriting xpcom.xpt 1999-09-21 14:12:26 +00:00
warren%netscape.com
0f38c8859b Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
warren%netscape.com
68777de60f fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
briano%netscape.com
04e901e2a5 General cleanup. 1999-09-18 02:12:56 +00:00
brendan%mozilla.org
f7ba68844b *** empty log message *** 1999-09-17 23:21:29 +00:00
cls%seawood.org
1699d31f60 For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new 1999-09-15 22:00:12 +00:00
warren%netscape.com
387c151435 Removed this in favor of idl 1999-09-15 21:49:21 +00:00
warren%netscape.com
994f05a34e Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
warren%netscape.com
be2ef806ea idl versions 1999-09-15 09:51:46 +00:00
warren%netscape.com
279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
warren%netscape.com
7440b39dc0 Added nsIRunnable.h and nsIThreadPool.h temporarily. 1999-09-13 23:45:31 +00:00
warren%netscape.com
9ca7f9a98f Added temporarily, until I can get nsIThreadPool.h added to all the .cpp files, and then switch over to nsIThreadPool.idl 1999-09-13 23:43:02 +00:00
warren%netscape.com
55d5affe5b Added temporarily, until I can get nsIRunnable.h added to all the .cpp files, and then switch over to nsIRunnable.idl 1999-09-13 23:40:52 +00:00
cls%seawood.org
af786fe1e7 Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one. 1999-09-12 12:03:20 +00:00
waterson%netscape.com
a792915daf Fix variable scoping problem that busts #ifdef DEBUG build. 1999-09-07 05:40:22 +00:00
sdagley%netscape.com
a509302246 Fix build bustage for brendan. Some platforms actually scope variables to the for loop where they're declared. 1999-09-07 00:08:30 +00:00
brendan%mozilla.org
849e52b0fb Pick nits. 1999-09-06 23:00:17 +00:00
brendan%mozilla.org
154f675bda Deadlock detection hacks. 1999-09-06 19:28:56 +00:00
brendan%mozilla.org
a00bee9700 Initial version. 1999-09-06 19:16:25 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
scc%netscape.com
68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
warren%netscape.com
02dc3a6a93 Added more logging code. 1999-08-11 08:13:07 +00:00