<commit_before>// Copyright(c) <NAME>, 2009-2011
//
// This document is covered by the Artistic License 2.0 (Open Source Initiative
// approved license). A copy of the license should have been provided alongside
// this software package (see "license.rtf"). If not, the license is available
// online at "http://www.opensource.org/licenses/artistic-license-2.0.php".

#include <w32.tp/Queue.hpp>
#include <w32.tp/Cleanup.hpp>
#include <w32.tp/Pool.hpp>
#include <w32/Error.hpp>

#include <iostream>

namespace w32 { namespace tp {

    Queue::Queue ( Pool& pool )
    {
        ::InitializeThreadpoolEnvironment(&myData);
        ::SetThreadpoolCallbackPool(&myData, pool.handle());
    }

    Queue::~Queue ()
    {
        ::DestroyThreadpoolEnvironment(&myData);
    }

    Queue::Data& Queue::data ()
    {<commit_msg>Removes unused header.<commit_after>// Copyright(c) <NAME>, 2009-2011
//
// This document is covered by the Artistic License 2.0 (Open Source Initiative
// approved license). A copy of the license should have been provided alongside
// this software package (see "license.rtf"). If not, the license is available
// online at "http://www.opensource.org/licenses/artistic-license-2.0.php".

#include <w32.tp/Queue.hpp>
#include <w32.tp/Cleanup.hpp>
#include <w32.tp/Pool.hpp>
#include <w32/Error.hpp>

namespace w32 { namespace tp {

    Queue::Queue ( Pool& pool )
    {
        ::InitializeThreadpoolEnvironment(&myData);
        ::SetThreadpoolCallbackPool(&myData, pool.handle());
    }

    Queue::~Queue ()
    {
        ::DestroyThreadpoolEnvironment(&myData);
    }

    Queue::Data& Queue::data ()
    {
{'fraction_non_alphanumeric': 0.14338235294117646, 'fraction_numerical': 0.02696078431372549, 'mean_word_length': 3.449591280653951, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6398221', 'n_tokens_mistral': 536, 'n_tokens_neox': 501, 'n_words': 132}