what is the guard for? looks to me like you're slowing down your threading by using an unnecessary gaurd, you're only accessing the data to display right?
Just bad code overall, i regret many decisions. The mutex::try_lock() guard in display() is to avoid threads writing to the same line at the same time and mess everything up.
hypnotic
Nice cursor theme xD
sick
thats very cool
woah!
what is the guard for? looks to me like you're slowing down your threading by using an unnecessary gaurd, you're only accessing the data to display right?
Yeah, first thing I see is #include and I'm immediately wondering why that's in falling ASCII.
Just bad code overall, i regret many decisions. The mutex::try_lock() guard in display() is to avoid threads writing to the same line at the same time and mess everything up.
Reminds me of cmatrix
@geekygymrat
Try this, it's do the same thing, but shorter:
#include
#include
int main()
{
char w=47,arr[] = "@#$*&+";
for(;!usleep(10