<commit_before>#ifndef INCLUDE_UTILITIES_SEMAPHORE
#define INCLUDE_UTILITIES_SEMAPHORE

#include "Common.h"

#ifdef POSIX
	#include <semaphore.h>
#endif

namespace Utilities {
	class exported Semaphore {
		#ifdef WINDOWS
			void* BaseSemaphore;
		#elif defined POSIX
			sam_t* BaseSemaphore;
		#endif
	public:
		enum class DecrementResult {
			Success,
			TimedOut
		};

		Semaphore();
		~Semaphore();
		void Increment();
		enum class DecrementResult Decrement(uint32 timeout);
	};
};

#endif<commit_msg>sam_t -> sem_t typo fix<commit_after>#ifndef INCLUDE_UTILITIES_SEMAPHORE
#define INCLUDE_UTILITIES_SEMAPHORE

#include "Common.h"

#ifdef POSIX
	#include <semaphore.h>
#endif

namespace Utilities {
	class exported Semaphore {
		#ifdef WINDOWS
			void* BaseSemaphore;
		#elif defined POSIX
			sem_t* BaseSemaphore;
		#endif
	public:
		enum class DecrementResult {
			Success,
			TimedOut
		};

		Semaphore();
		~Semaphore();
		void Increment();
		enum class DecrementResult Decrement(uint32 timeout);
	};
};

#endif
{'fraction_non_alphanumeric': 0.09430255402750491, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 4.5989010989010985, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '44354', 'n_tokens_mistral': 434, 'n_tokens_neox': 379, 'n_words': 86}