From 421ea5a1b1dc35ff6e6be6f7a0001a5ae99eec10 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 4 Nov 2015 17:42:54 +0100 Subject: Added GPL-compliant header to all sources and build scripts Signed-off-by: Haru --- src/common/spinlock.h | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'src/common/spinlock.h') 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 . + */ #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 -// -// 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" -- cgit v1.2.3-70-g09d2