-. , , A min (1,2) threadB min (3,4). , A , .
x_GLOB 1, y_GLOB 2.
, threadB :
x_GLOB 3, y_GLOB - 4.
, threadA . x_GLOB (3) (1).
, - " " , threadA 3, x_GLOB . , . , , - .
. , :
#define STATIC_INLINE static
STATIC_INLINE int min_func(int x, int y) { return x < y ? x : y; }
#define min(a,b) min_func((a),(b))
, - , , , - , , , STATIC_INLINE - ( static inline C99, static __inline Microsoft - ), , , min -. ( " ?" ) -, .