I\'m trying to make two threads. One for write ordinal numbers (1,2,3,4,5,6,7,8,9,10) (one by one) into an external variable (config1.variable1) and other thread to read this va