Concurrency and Multithreading .cursorrules strategies