Changeset: 05a9b729f1fa for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=05a9b729f1fa
Modified Files:
MonetDB5/src/mal/mal_session.mx
Branch: default
Log Message:
Merged from Oct2010
diffs (55 lines):
diff -r ab4e5351f91f -r 05a9b729f1fa MonetDB5/src/mal/mal_session.mx
--- a/MonetDB5/src/mal/mal_session.mx Wed Oct 27 14:17:16 2010 +0200
+++ b/MonetDB5/src/mal/mal_session.mx Wed Oct 27 14:45:58 2010 +0200
@@ -358,8 +358,8 @@
MSinitClientPrg(c,"user", "main");
GDKfree(command);
- if (MT_create_thread(&p, MSserveClient, (void *) c) < 0) {
- showException(MAL,"initClient", "can not fork new client");
+ if (MT_create_thread(&p, MSserveClient, (void *) c) != 0) {
+ showException(MAL, "initClient", "cannot fork new client");
return;
}
}
diff -r ab4e5351f91f -r 05a9b729f1fa MonetDB5/src/modules/mal/mal_mapi.mx
--- a/MonetDB5/src/modules/mal/mal_mapi.mx Wed Oct 27 14:17:16 2010 +0200
+++ b/MonetDB5/src/modules/mal/mal_mapi.mx Wed Oct 27 14:45:58 2010 +0200
@@ -777,7 +777,7 @@
psock[1] = INVALID_SOCKET;
#endif
psock[2] = INVALID_SOCKET;
- if (MT_create_thread(pidp, (void (*)(void *)) SERVERlistenThread,
psock) < 0) {
+ if (MT_create_thread(pidp, (void (*)(void *)) SERVERlistenThread,
psock) != 0) {
GDKfree(psock);
throw(MAL, "mal_mapi.listen", OPERATION_FAILED ": starting
thread failed");
}
diff -r ab4e5351f91f -r 05a9b729f1fa MonetDB5/src/modules/mal/replication.mx
--- a/MonetDB5/src/modules/mal/replication.mx Wed Oct 27 14:17:16 2010 +0200
+++ b/MonetDB5/src/modules/mal/replication.mx Wed Oct 27 14:45:58 2010 +0200
@@ -1140,7 +1140,7 @@
masterstatus[free].uri = GDKstrdup(*uri);
masterstatus[free].tag = t;
masterstatus[free].m = mapi;
- if (MT_create_thread(&tid, MASTERsend, (void *)&free) < 0)
+ if (MT_create_thread(&tid, MASTERsend, (void *)&free) != 0)
throw(MAL, "master.sync", "cannot fork new client");
#ifdef _DEBUG_REPLICATION_
diff -r ab4e5351f91f -r 05a9b729f1fa sql/src/backends/monet5/sql_scenario.mx
--- a/sql/src/backends/monet5/sql_scenario.mx Wed Oct 27 14:17:16 2010 +0200
+++ b/sql/src/backends/monet5/sql_scenario.mx Wed Oct 27 14:45:58 2010 +0200
@@ -279,11 +279,11 @@
throw(SQL, "SQLinit", "Catalogue initialization failed");
SQLinitialized = TRUE;
mal_unset_lock(sql_contextLock,"SQL init");
- if (!GDKembedded && MT_create_thread(&sqllogthread, (void (*)(void *))
mvc_logmanager, NULL) < 0) {
+ if (!GDKembedded && MT_create_thread(&sqllogthread, (void (*)(void *))
mvc_logmanager, NULL) != 0) {
mal_unset_lock(sql_contextLock,"SQL init");
throw(SQL, "SQLinit", "Starting log manager failed");
}
- if (0 && !GDKembedded && MT_create_thread(&minmaxthread, (void (*)(void
*)) mvc_minmaxmanager, NULL) < 0) {
+ if (0 && !GDKembedded && MT_create_thread(&minmaxthread, (void (*)(void
*)) mvc_minmaxmanager, NULL) != 0) {
mal_unset_lock(sql_contextLock,"SQL init");
throw(SQL, "SQLinit", "Starting minmax manager failed");
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list