diff options
author | Haru <haru@dotalux.com> | 2015-11-04 17:42:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-15 20:53:48 +0100 |
commit | 421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10 (patch) | |
tree | a803066bc7019085bea4eaca019b8741435714ce /src/common/spinlock.h | |
parent | 86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb (diff) | |
download | hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.gz hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.bz2 hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.tar.xz hercules-421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10.zip |
Added GPL-compliant header to all sources and build scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/spinlock.h')
-rw-r--r-- | src/common/spinlock.h | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/src/common/spinlock.h b/src/common/spinlock.h index 811b239df..4d9c4c668 100644 --- a/src/common/spinlock.h +++ b/src/common/spinlock.h @@ -1,18 +1,32 @@ +/** + * This file is part of Hercules. + * http://herc.ws - http://github.com/HerculesWS/Hercules + * + * Copyright (C) 2012-2015 Hercules Dev Team + * Copyright (C) rAthena Project (www.rathena.org) + * + * Hercules is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #ifndef COMMON_SPINLOCK_H #define COMMON_SPINLOCK_H -// // CAS based Spinlock Implementation // // CamelCase names are chosen to be consistent with Microsoft's WinAPI // which implements CriticalSection by this naming... // // Author: Florian Wilkemeyer <fw@f-ws.de> -// -// Copyright (c) rAthena Project (www.rathena.org) - Licensed under GNU GPL -// For more information, see LICENCE in the main folder -// -// #include "common/atomic.h" #include "common/cbasetypes.h" |