multi threaded support and bitwise operator stub