<commit_before>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
IN: io.unix.linux
USING: io.backend io.unix.backend io.unix.launcher io.unix.select
namespaces kernel assocs unix.process ;

TUPLE: linux-io ;

INSTANCE: linux-io unix-io

M: linux-io init-io ( -- )
    <select-mx> mx set-global
    start-wait-thread ;

T{ linux-io } set-io-backend<commit_msg>Fix wait loop bug (fixed by Slava)<commit_after>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
IN: io.unix.linux
USING: io.backend io.unix.backend io.unix.launcher io.unix.select
namespaces kernel assocs unix.process init ;

TUPLE: linux-io ;

INSTANCE: linux-io unix-io

M: linux-io init-io ( -- )
    <select-mx> mx set-global ;

T{ linux-io } set-io-backend

[ start-wait-thread ] "io.unix.linux" add-init-hook
{'fraction_non_alphanumeric': 0.14167650531286896, 'fraction_numerical': 0.009445100354191263, 'mean_word_length': 3.5837837837837836, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4916444', 'n_tokens_mistral': 338, 'n_tokens_neox': 320, 'n_words': 80}