<commit_before>#include"all_defines.hpp"

#include"symbols.hpp"
#include"mutexes.hpp"

#include<boost/noncopyable.hpp>

#include<string>
#include<map>

void Symbol::copy_value_to(ValueHolderRef& p) {
	{AppLock l(m);
		/*Unfortunately the entire cloning has to be
		done while we have the lock.  This is because
		a Symbol::set_value() might invalidate the
		pointer from under us if we didn't do the
		entire cloning locked.
		Other alternatives exist: we can use a locked
		reference counting scheme, or use some sort
		of deferred deallocation.<commit_msg>src/symbols.cpp: Added missing include for processes.hpp<commit_after>#include"all_defines.hpp"

#include"symbols.hpp"
#include"processes.hpp"
#include"mutexes.hpp"

#include<boost/noncopyable.hpp>

#include<string>
#include<map>

void Symbol::copy_value_to(ValueHolderRef& p) {
	{AppLock l(m);
		/*Unfortunately the entire cloning has to be
		done while we have the lock.  This is because
		a Symbol::set_value() might invalidate the
		pointer from under us if we didn't do the
		entire cloning locked.
		Other alternatives exist: we can use a locked
		reference counting scheme, or use some sort
		of deferred deallocation.
{'fraction_non_alphanumeric': 0.08791208791208792, 'fraction_numerical': 0.0, 'mean_word_length': 5.01015228426396, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1824016', 'n_tokens_mistral': 397, 'n_tokens_neox': 369, 'n_words': 129}