I learned about threads, basically two functions running at once, a few weeks ago. I’m wondering if it’s possible in Codea.

Not possible in Codea — threads are powerful though. However they aren’t a feature of the Lua language. Lua does have a concept called “coroutines” which you might want to look into, they are a viable alternative to threads for many similar problems.

Comparison of methods of concurrency

Thanks. I’ll try it when I get a chance.