Prolog-Style Meta-Programming miniKanren - Nada Amin and Will Byrd -- miniKanren 2021 Computer Science |
- Prolog-Style Meta-Programming miniKanren - Nada Amin and Will Byrd -- miniKanren 2021
- LINUX key Pressing - HELP NEEDED
- Using finite automata to encrypt
Prolog-Style Meta-Programming miniKanren - Nada Amin and Will Byrd -- miniKanren 2021 Posted: 28 Jan 2022 10:45 AM PST |
LINUX key Pressing - HELP NEEDED Posted: 28 Jan 2022 02:27 PM PST Hi, im using ubuntu 20.04. So i am making 4 threads. The thread1, thread2, thread3 of my threads are printing 1,2,3 continuously respectively. they are doing Context switching/running parallel. I want myThread4 terminate all of my threads or even program if a key Q is pressed. The trouble i am facing is that it is not exiting the program when i press Q. It does exit when i repeatedly press Q and then press enter key, or even enter key alone. Please help. I want to terminate my program when i press Q. How do i do that. A simple implementation is welcomed because i have started using LINUX. what i am doing is: void *thread4() { scanf("%c", &str); if (str == 'q') { pthread_exit(); } } please help!!!! [link] [comments] |
Using finite automata to encrypt Posted: 26 Jan 2022 02:14 PM PST Hi, i was wondering wether it is possible to use finite automata for simple encryption of ciphers like caesar or vigenere. And if so how is it possible? [link] [comments] |
You are subscribed to email updates from Computer Science: Theory and Application. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment