We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48035
while(!g_get_shutdown()) { #ifdef ENABLE_NUNC_STANS DS_Sleep(1); #else
This should just be a call to ns_thrpool_wait like this:
if (ns_thrpool_wait(tp)) { /* error */ } /* start other cleanup here */
The text was updated successfully, but these errors were encountered:
Comment from rmeggins (@richm) at 2015-02-24 01:00:45
listener_info *listener_idxs = NULL; /* array of indexes of listener sockets in the ct->fd array */
make this static instead of global
Move the static int listeners = 0; /* number of listener sockets */ to be next to static listener_info *listener_idxs = NULL
ns_job_done(listener_idxs[i].ns_job);
set listener_idxs[i].ns_job = NULL to make sure no one else tries to reference the job.
Sorry, something went wrong.
Comment from mreynolds (@mreynolds389) at 2015-02-24 01:23:31
revision 0001-Ticket-48035-nunc-stans-Revise-shutdown-sequence.patch
Comment from mreynolds (@mreynolds389) at 2015-02-24 01:24:46
Replying to [comment:3 richm]:
listener_info *listener_idxs = NULL; /* array of indexes of listener sockets in the ct->fd array */ make this static instead of global Move the static int listeners = 0; /* number of listener sockets */ to be next to static listener_info *listener_idxs = NULL ns_job_done(listener_idxs[i].ns_job); set listener_idxs[i].ns_job = NULL to make sure no one else tries to reference the job.
New patch attached...
Comment from mreynolds (@mreynolds389) at 2015-02-24 01:54:18
commit aabcb76e68aa5e8af1883d33ad2266a8d0046dc8
Comment from mreynolds (@mreynolds389) at 2017-02-11 22:56:46
Metadata Update from @mreynolds389:
No branches or pull requests
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48035
while(!g_get_shutdown())
{
#ifdef ENABLE_NUNC_STANS
DS_Sleep(1);
#else
This should just be a call to ns_thrpool_wait like this:
The text was updated successfully, but these errors were encountered: