Go to file
2023-03-11 02:45:21 +01:00
src firstcommit 2023-03-01 04:36:01 +01:00
.gitignore update 2023-03-01 17:58:36 +01:00
LICENSE firstcommit 2023-03-01 04:36:01 +01:00
Makefile firstcommit 2023-03-01 04:36:01 +01:00
minitalk.h firstcommit 2023-03-01 04:36:01 +01:00
minitalk.pdf firstcommit 2023-03-01 04:36:01 +01:00
Readme.md readmetest 2023-03-11 02:45:21 +01:00
test.sh newtestsimultanious 2023-03-06 09:18:56 +01:00

Minitalk

Minitalk is a simple project that requires you to use unix signals to send over strings between 2 programs. We can only use SIGUSR1 and SIGUSR2 and we can use the kill function to send them over


Improvements

Add support for multiple clients at the same time

Client
  • client pings server every 100 msecs, and only starts writing after receiving SIGUSR2 back
  • client sends \0 when done

Server

  • server waits for a signal when pid = 1
  • when server receives signal it sets the pid to the sender pid
  • it keeps ignoring signals from other PIDs untill it received \0 from the current pid
  • after \0 is received pid is set back to 1

Bugs

none


Tester

  • add valgrind to tester
  • check for -Wall -Werror -Wextra

Markdown Guide

Image

alt text

Extended Syntax

These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.

Table

Syntax Description
Header Title
Paragraph Text

Fenced Code Block

{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

Footnote

Here's a sentence with a footnote. 1

Heading ID

My Great Heading

Definition List

term
definition

Strikethrough

The world is flat.

Task List

  • Write the press release
  • Update the website
  • Contact the media

Emoji

That is so funny! 😂

(See also Copying and Pasting Emoji)

Highlight

I need to highlight these ==very important words==.

Subscript

H~2~O

Superscript

X^2^

blockquote

Bugs

  1. First item
  2. Second item
  3. Third item
  • First item
  • Second item
  • Third item code

  1. This is the footnote. ↩︎