[prev in list] [next in list] [prev in thread] [next in thread]
List: omniorb-list
Subject: Re: omnithread 2.5 NT resource leak
From: Tristan Richardson <tjr () orl ! co ! uk>
Date: 1998-02-24 18:07:37
[Download RAW message or body]
> The NT omnithread library (2.5beta) appears to be missing the
> lines indicated below to release the thread's semaphore handle.
>
>
> > //
> > // Destructor for omni_thread.
> > //
> >
> > omni_thread::~omni_thread(void)
> > {
> > DB(cerr << "destructor called for thread " << id() << endl);
> > if (!CloseHandle(handle))
> > throw omni_thread_fatal(GetLastError());
> > >> if (!CloseHandle(cond_semaphore)) <<
> > >> throw omni_thread_fatal(GetLastError()); <<
> > }
> >
Well spotted. We'll fix our develop version so it makes it into the next
release.
Cheers
Tristan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic