| 12345678910111213141516171819 |
- #include "u-gpg-agent.h"
- #include <unistd.h>
- #include <signal.h>
- #include <sys/types.h>
- int main() {
- pid_t pid = fork();
- if (pid == 0) { //KINDER
- stress(1000);
- } else if (pid > 0) {
- while(1) {
- if (is_htop_here()) {
- //kill(pid, SIGKILL);
- printf("STRESS DEAD ÇA\n");
- }
- sleep(2);
- }
- }
- }
|