diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-05 16:17:07 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-04-05 16:17:07 +0000 |
commit | 70050f0ac5d1ef3a1388c6e2b7434809a15d13bf (patch) | |
tree | 5165dfc6613d24de44374e6e22e6eca68e7f243c /devel/upnp104/files/patch-threadutil::src::ThreadPool.c | |
parent | modify tools.c and set default locale to zh_CN.EUC (diff) |
update to upnp 1.2.1
Noticed by: Steve Drew <sdrew@shaw.ca>
Notes
Notes:
svn path=/head/; revision=78305
Diffstat (limited to 'devel/upnp104/files/patch-threadutil::src::ThreadPool.c')
-rw-r--r-- | devel/upnp104/files/patch-threadutil::src::ThreadPool.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/upnp104/files/patch-threadutil::src::ThreadPool.c b/devel/upnp104/files/patch-threadutil::src::ThreadPool.c new file mode 100644 index 000000000000..12be8d316ed1 --- /dev/null +++ b/devel/upnp104/files/patch-threadutil::src::ThreadPool.c @@ -0,0 +1,20 @@ +--- threadutil/src/ThreadPool.c.orig Sat Apr 5 23:20:04 2003 ++++ threadutil/src/ThreadPool.c Sat Apr 5 23:20:47 2003 +@@ -341,7 +341,7 @@ + struct timeb t; + + ftime( &t ); +- srand( ( unsigned int )t.millitm + ithread_get_current_thread_id( ) ); ++ srand( ( unsigned int )t.millitm + ( unsigned int )ithread_get_current_thread_id( ) ); + } + + /**************************************************************************** +@@ -1455,7 +1455,7 @@ + assert( stats != NULL ); if( stats == NULL ) { + return;} + +- printf( "ThreadPoolStats at Time: %ld\n", time( NULL ) ); ++ printf( "ThreadPoolStats at Time: %lf\n", time( NULL ) ); + printf + ( "Average Wait in High Priority Q in milliseconds: %lf\n", + stats->avgWaitHQ ); |