119 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
f32dd26a1b # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler


git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
mkaply%us.ibm.com
49f13d862e # 37239
r= dougt@netscape.com
OS/2 bring up continues - need another INCL_


git-svn-id: svn://10.0.0.236/trunk@67768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:27:21 +00:00
warren%netscape.com
8f28511cda Fixed optimized build problem.
git-svn-id: svn://10.0.0.236/trunk@66662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:32:59 +00:00
warren%netscape.com
e42631defd Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.)
git-svn-id: svn://10.0.0.236/trunk@66658 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:12:57 +00:00
pavlov%netscape.com
fa2114d6c4 use C comments
git-svn-id: svn://10.0.0.236/trunk@66062 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:05:53 +00:00
pavlov%netscape.com
d323248bfc hack to fix 35594 so that evaughan can land his box changes
git-svn-id: svn://10.0.0.236/trunk@66039 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:27:19 +00:00
scc%netscape.com
28db414fa4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
rickg%netscape.com
5ac964af00 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64195 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:06:01 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
pavlov%netscape.com
d9b37b0e5f backing out dougt's thread changes r=dougt
git-svn-id: svn://10.0.0.236/trunk@62257 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 01:13:20 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
20d9d73374 Adding dynamic thread allocation to thread pool. Fixes 27736.
Also fixing warning in plevent.c

r=damn, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@62241 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:01:33 +00:00
danm%netscape.com
b048c0396e add API to EventQueueService for creating a monitored event queue. part of bug 25979. r=dougt r=jar
git-svn-id: svn://10.0.0.236/trunk@62207 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 03:17:01 +00:00
danm%netscape.com
845e7739c3 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
git-svn-id: svn://10.0.0.236/trunk@62077 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 21:38:19 +00:00
danm%netscape.com
6231954eab just immortalizing some debugging gunk i recently found useful. hidden completely behind ifdefs normally opaque.
git-svn-id: svn://10.0.0.236/trunk@60544 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:27:57 +00:00
dougt%netscape.com
a05ea03df6 Fix for bug 26732. r=danm. event queue need to be able to init a plevent
git-svn-id: svn://10.0.0.236/trunk@60181 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 02:28:51 +00:00
wtc%netscape.com
99f9fe4467 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


git-svn-id: svn://10.0.0.236/trunk@58964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:27:37 +00:00
wtc%netscape.com
3cde13952c 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.


git-svn-id: svn://10.0.0.236/trunk@58589 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:48:51 +00:00
scc%netscape.com
b414827be6 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan
git-svn-id: svn://10.0.0.236/trunk@58132 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:19:52 +00:00
dougt%netscape.com
f21187a4e6 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley


git-svn-id: svn://10.0.0.236/trunk@56985 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:08:14 +00:00
dougt%netscape.com
85bb9d5b20 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt.
git-svn-id: svn://10.0.0.236/trunk@56975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:46:44 +00:00
sspitzer%netscape.com
3823830445 turn off assertions until dougt fixes #22943. r=dougt
git-svn-id: svn://10.0.0.236/trunk@56699 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:14:37 +00:00
dougt%netscape.com
a5052c7d8c Adding back the assert since I fixed the problem in the GTK appshell.
git-svn-id: svn://10.0.0.236/trunk@56241 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:12:18 +00:00
sspitzer%netscape.com
8ab190c77c make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.


git-svn-id: svn://10.0.0.236/trunk@56195 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 10:17:09 +00:00
valeski%netscape.com
77f1824c47 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.
git-svn-id: svn://10.0.0.236/trunk@55988 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:06:17 +00:00
dougt%netscape.com
8efe8bcc68 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.


git-svn-id: svn://10.0.0.236/trunk@55941 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 23:05:31 +00:00
dp%netscape.com
af2c8ed503 Removing usage of nsComponentManager.h r=selmer
git-svn-id: svn://10.0.0.236/trunk@55678 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:59:32 +00:00
dp%netscape.com
694b0720be NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54828 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:21:53 +00:00
dougt%netscape.com
69329e38fe Fix for 18078. R=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54638 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:14:55 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
dougt%netscape.com
b023f23e6c fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
git-svn-id: svn://10.0.0.236/trunk@53655 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 16:04:14 +00:00
jband%netscape.com
ee57201b52 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
git-svn-id: svn://10.0.0.236/trunk@53551 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:15:27 +00:00
pepper%netscape.com
b604bfeeca Changed friend declaration to make HP Compilers Happy.
r=mgleeson


git-svn-id: svn://10.0.0.236/trunk@53144 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 00:39:59 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
danm%netscape.com
7de071230b 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
git-svn-id: svn://10.0.0.236/trunk@52680 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:30:49 +00:00
danm%netscape.com
f98e5e2bc8 fixing obvious flaw in Unlink. r:waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51252 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 08:35:04 +00:00
danm%netscape.com
855118ba4a retire event queues even on Windows when they're no longer used. part of bug 15856. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51191 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 22:00:12 +00:00
danm%netscape.com
88e77696a0 added CreateFromIThread. r:valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51156 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 19:18:27 +00:00
danm%netscape.com
0b71323316 event queues own and delete themselves when they're done. bug 15856 r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50986 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 14:59:57 +00:00
danm%netscape.com
e200e99d65 new r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50985 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 14:57:07 +00:00
warren%netscape.com
49e47e3066 Fixed build warnings.
git-svn-id: svn://10.0.0.236/trunk@49969 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:51:48 +00:00
valeski%netscape.com
780e7132fd 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.
git-svn-id: svn://10.0.0.236/trunk@49617 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 23:30:06 +00:00
shaver%netscape.com
ec0efdd4c6 need to use different module names to avoid overwriting xpcom.xpt
git-svn-id: svn://10.0.0.236/trunk@48570 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 14:12:26 +00:00
warren%netscape.com
2bdfab8723 Taking out the damn nsCOMPtr for nsThreadPool for Mac!
git-svn-id: svn://10.0.0.236/trunk@48420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:35:06 +00:00
warren%netscape.com
4a15ebde22 fixed refcounting in nsThread so threads and runnables are freed
git-svn-id: svn://10.0.0.236/trunk@48375 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:23 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
brendan%mozilla.org
e3cfb6c40d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@48067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:21:29 +00:00
cls%seawood.org
043415ee86 For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
git-svn-id: svn://10.0.0.236/trunk@47665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 22:00:12 +00:00
warren%netscape.com
f29912ff53 Removed this in favor of idl
git-svn-id: svn://10.0.0.236/trunk@47661 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:49:21 +00:00
warren%netscape.com
1b07f99ee9 Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
git-svn-id: svn://10.0.0.236/trunk@47659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:41:20 +00:00