/[resiprocate]/main/rutil/test/testThreadIf.cxx
ViewVC logotype

Log of /main/rutil/test/testThreadIf.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 10761 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 19 19:47:16 2013 UTC (5 years, 10 months ago) by Dpocock
File length: 4842 byte(s)
Diff to previous 8823
rutil: testThreadIf: reduce timing sensitivity

Revision 8823 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 25 20:51:25 2010 UTC (9 years, 1 month ago) by sgodin
File length: 4841 byte(s)
Diff to previous 5934
-fixes for running rutil/test and stack/test under windows

Revision 5934 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 23:58:28 2006 UTC (13 years, 8 months ago) by dworley
File length: 4841 byte(s)
Diff to previous 5930
Start cleaning up svn:mime-type in files.


Revision 5930 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:39:14 2006 UTC (13 years, 8 months ago) by dworley
File length: 4841 byte(s)
Diff to previous 5363
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5363 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 2 22:27:00 2005 UTC (14 years, 2 months ago) by jason
File length: 4841 byte(s)
Copied from: main/resip/stack/test/testThreadIf.cxx revision 5350
Diff to previous 5295
sort out inter-dependencies between rutil and resip/stack





Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 2 months ago) by jason
Original Path: main/resip/stack/test/testThreadIf.cxx
File length: 4841 byte(s)
Copied from: branches/b-directory-reorg/resip/stack/test/testThreadIf.cxx revision 5294
Diff to previous 5281
merged 5270:HEAD from b-directory-reorg

Revision 5281 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:59:13 2005 UTC (14 years, 2 months ago) by derek
Original Path: branches/b-directory-reorg/resip/stack/test/testThreadIf.cxx
File length: 4841 byte(s)
Diff to previous 5276
moved sip to stack

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testThreadIf.cxx
File length: 4841 byte(s)
Diff to previous 5274
compiles now

Revision 5274 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:53:59 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/sip/test/testThreadIf.cxx
File length: 4859 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/test/testThreadIf.cxx
File length: 4859 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 2 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/test/testThreadIf.cxx
File length: 4859 byte(s)
Diff to previous 4599
new directory reorg proposal

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 4859 byte(s)
Diff to previous 3999
set svn:eol-style to LF

Revision 3999 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 16 19:41:28 2005 UTC (14 years, 8 months ago) by derek
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 4859 byte(s)
Diff to previous 1796
Merged in of async branch:

Major changes:

Alternative "async/external" Processing Model

The SipStack & DUM can now run w/out being in a build/select/process
loop.  This is accomplished witht ransports that provide their own cycles, as well
as an external timer api.  The SipStack is constructed w/ an
AsyncProcessHandler which gets notified when a message is put into the
StateMacFifo, or when SipStack::postMs or SipStack::post is called.  This can be
optimized a bit more; in some cases only a timer adjustment may be required, but
the stack might not require cycles.  DumProcessHandler, located in the Dum
directory, is a example of how to use this.  Note that it provides ares w/ a 50
ms timer when there is an active query.  DnsInterface now has a requiresProcess
method to facilitate this; it should possibly become another
getTimeTillNextProcess method.

Transport Refactoring/Cleanup

TransportSelector now only understands objects that derive from Transport.  The
SipStack is responsible for the Transport Factory behaviour of addTransport.  A
lot of the Transport has moved into InternalTransport, to keep the Transport
abstraction clean.  Also, the tcp transports have been cleaned up; most of dlb's
rant in ConnectionBase.hxx has been answered. 

IpVersion vs Bool IpV4

bool is no longer used to represnt IpVersion, the enum is used in tuple and
anywhere else I spotted it.

The result of this merge/cleanup has been regressed; I still need to re-write
testTransportSelector.cxx.  The async model has not been used yet with the
esult of this merge, but it was sued extensively in the branch.


Revision 1796 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 16 13:50:58 2003 UTC (16 years, 2 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 4759 byte(s)
Diff to previous 1305
fixed up license text


Revision 1305 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 25 06:33:48 2003 UTC (16 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2386 byte(s)
Diff to previous 1295
rename namespace to resip


Revision 1295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 24 23:25:36 2003 UTC (16 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2388 byte(s)
Diff to previous 1294
directory reorg to sip/resiprocate, etc.


Revision 1294 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 24 22:42:27 2003 UTC (16 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2392 byte(s)
Diff to previous 1112
change from sip2 to resiprocate


Revision 1112 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 24 02:49:54 2003 UTC (16 years, 9 months ago) by jason
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2378 byte(s)
Diff to previous 857
solaris compat


Revision 857 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 9 21:53:12 2002 UTC (16 years, 11 months ago) by fluffy
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2359 byte(s)
Diff to previous 840
fixed compile bug


Revision 840 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 7 03:24:45 2002 UTC (16 years, 11 months ago) by derekm
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 2341 byte(s)
Diff to previous 828
Logger now has thread-level "service" level settings.  Won't work on windows
yet.

some tests for ThreadIf
some 'tests' for logging -- not complete


Revision 828 - (view) (download) (annotate) - [select for diffs]
Added Fri Dec 6 01:33:40 2002 UTC (16 years, 11 months ago) by derekm
Original Path: main/sip/resiprocate/test/testThreadIf.cxx
File length: 1530 byte(s)
added

ThreadIf::waitForShutdown(int ms) const

which causes the thread to sleep for the specified# of ms, but will wakeup and
return true if shutdown is called. Returns false if the sleep finished w/out
shutdown being called.

shutdown&join are now called in the destructor.  it is now ok to call join multiple
times, nothing happens if there isn't an active thread.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27