graphics lib link error fix

svn path=/trunk/boinc/; revision=7959
This commit is contained in:
David Anderson 2005-09-10 04:37:27 +00:00
parent 5e240ccefb
commit ff2a653dc3
6 changed files with 44 additions and 10 deletions

View File

@ -31,4 +31,30 @@ bool boinc_is_standalone() {
return g_bmsp->boinc_is_standalone_hook();
}
// The following is a duplicate of function in boinc_api.C
#include <sys/types.h>
#include <signal.h>
#include <pthread.h>
#ifndef _WIN32
// block SIGALRM, so that the worker thread will be forced to handle it
//
void block_sigalrm() {
sigset_t mask;
sigemptyset(&mask);
sigaddset(&mask, SIGALRM);
// many current Linux machines don't have pthread_sigmask in their
// library. On these machines, sigprocmask() is equivalent. But
// in the long run (end of 2006??) one should eliminate sigprocmask
// and just use pthread_sigmask().
//
#ifdef linux
sigprocmask(SIG_BLOCK, &mask, NULL);
#else
pthread_sigmask(SIG_BLOCK, &mask, NULL);
#endif
}
#endif
const char *BOINC_RCSID_9886dee259 = "$Id$";

View File

@ -11569,3 +11569,12 @@ David 9 Sept 2005
account_finish_action.php
lib/
util.C
David 9 Sept 2005
- add block_sigalrm() to graphics_impl_lib.C
- fix some text in Manager
api/
graphics_impl_lib.C
clientgui/
ViewProjects.cpp

View File

@ -114,8 +114,8 @@ CViewProjects::CViewProjects(wxNotebook* pNotebook) :
pGroup->m_Tasks.push_back( pItem );
pItem = new CTaskItem(
_("Update All"),
_("Report all upload items, completed work, get latest credit, "
_("Update all"),
_("Report completed work, get latest credit, "
"get latest preferences, and possibly get more work."),
ID_TASK_PROJECT_UPDATE_ALL
);
@ -130,7 +130,7 @@ CViewProjects::CViewProjects(wxNotebook* pNotebook) :
pItem = new CTaskItem(
_("No new work"),
_("Don't fetch new work for this project."),
_("Don't get new work for this project."),
ID_TASK_PROJECT_NONEWWORK
);
pGroup->m_Tasks.push_back( pItem );
@ -147,10 +147,9 @@ CViewProjects::CViewProjects(wxNotebook* pNotebook) :
pItem = new CTaskItem(
_("Detach"),
_("Detach this computer from this project. "
"Work in progress will be lost. "
"You can update the project first to report "
"any completed work."),
_("Detach computer from this project. "
"Work in progress will be lost "
"(use 'Update' first to report any completed work)."),
ID_TASK_PROJECT_DETACH
);
pGroup->m_Tasks.push_back( pItem );

View File

@ -56,7 +56,7 @@ list_item_array(array(
list_item_array(array(
"<a href=http://www.pperry.f2s.com/downloads.htm>SETI-Linux</a>",
"Linux i686, linux athlon xp, Linux AMD64,
Linux Pentium 3. Some Links to other Plattforms",
Linux Pentium 3. Some Links to other Platforms",
"BOINC, SETI@home"
));
list_item_array(array(

View File

@ -25,7 +25,7 @@ Use these in your email or message-board signature.
<li>
<li>
<a href=http://www.boinc.dk/index.php?page=signatures>http://www.boinc.dk/index.php?page=signatures</a>
<a href=http://www.bigbee.be/comp/boinc/signature.php?id=9>http://www.bigbee.be/comp/boinc/signature.php?id=9</a> (for members of boinc.de)
<a href=http://www.bigbee.be/comp/boinc/signature.php?id=9>http://www.bigbee.be/comp/boinc/signature.php</a>
</ul>
";

View File

@ -175,7 +175,7 @@ or
")
);
list_item("action",
"Returns into about an account.
"Returns info about an account.
If called with the account key,
returns a list of hosts associated with the account."
);