asynceventnotifier.cxx (b557fc96) asynceventnotifier.cxx (7950f2af)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 150 unchanged lines hidden (view full) ---

159
160 osl::ResettableMutexGuard aGuard(m_Mutex);
161
162 OSL_PRECOND(m_bRun,"Event notifier does not run!");
163
164 m_bRun = false;
165 m_EventList.clear();
166
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 150 unchanged lines hidden (view full) ---

159
160 osl::ResettableMutexGuard aGuard(m_Mutex);
161
162 OSL_PRECOND(m_bRun,"Event notifier does not run!");
163
164 m_bRun = false;
165 m_EventList.clear();
166
167 // awake the the notifier thread
167 // awake the notifier thread
168 SetEvent(m_ResumeNotifying);
169 SetEvent(m_NotifyEvent);
170
171 // releas the mutex here because the event
172 // notifier thread may need it to finish
173 aGuard.clear();
174
175 // we are waiting infinite, so error will

--- 148 unchanged lines hidden ---
168 SetEvent(m_ResumeNotifying);
169 SetEvent(m_NotifyEvent);
170
171 // releas the mutex here because the event
172 // notifier thread may need it to finish
173 aGuard.clear();
174
175 // we are waiting infinite, so error will

--- 148 unchanged lines hidden ---