irwlock.h (228b4580) | irwlock.h (796b7e2a) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 47 E_NOLOCK , 48 E_READLOCK , 49 E_WRITELOCK 50}; 51 52/*-************************************************************************************************************//** 53 @descr We implement two guards for using an rw-lock. But if you wish to implement 54 different rw-locks to you will have problems by using with same guard implementation! | 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 --- 38 unchanged lines hidden (view full) --- 47 E_NOLOCK , 48 E_READLOCK , 49 E_WRITELOCK 50}; 51 52/*-************************************************************************************************************//** 53 @descr We implement two guards for using an rw-lock. But if you wish to implement 54 different rw-locks to you will have problems by using with same guard implementation! |
55 Thats why we define this "pure virtual base class" ... | 55 That's why we define this "pure virtual base class" ... |
56 All rw-locks must support this base interface for working and all guard must use this one too! 57*//*-*************************************************************************************************************/ 58class IRWLock 59{ 60 //------------------------------------------------------------------------------------------------------------- 61 // public methods 62 //------------------------------------------------------------------------------------------------------------- 63 public: --- 20 unchanged lines hidden --- | 56 All rw-locks must support this base interface for working and all guard must use this one too! 57*//*-*************************************************************************************************************/ 58class IRWLock 59{ 60 //------------------------------------------------------------------------------------------------------------- 61 // public methods 62 //------------------------------------------------------------------------------------------------------------- 63 public: --- 20 unchanged lines hidden --- |