1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Libraries
Andreas Kling 77cf607cda Kernel+LibC: Publish a "kernel info page" and use it for gettimeofday()
This patch adds a single "kernel info page" that is mappable read-only
by any process and contains the current time of day.

This is then used to implement a version of gettimeofday() that doesn't
have to make a syscall.

To protect against race condition issues, the info page also has a
serial number which is incremented whenever the kernel updates the
contents of the page. Make sure to verify that the serial number is the
same before and after reading the information you want from the page.
2019-12-15 21:29:26 +01:00
..
LibAudio LibAudio: Install library and headers 2019-12-08 11:40:30 +01:00
LibC Kernel+LibC: Publish a "kernel info page" and use it for gettimeofday() 2019-12-15 21:29:26 +01:00
LibCore LibCore: Silence some aggressive CSocket and CHttpJob debug spam 2019-12-14 11:30:18 +01:00
LibDraw LibDraw: Add a way to check for horizontal/vertical Rect intersections 2019-12-13 23:36:17 +01:00
LibELF Kernel: Separate out the symbol offsets in profile output 2019-12-12 21:59:47 +01:00
LibGUI Kernel+FileManager: Disallow watch_file() in unsupported file systems 2019-12-15 19:33:39 +01:00
LibHTML LibHTML: Rename HTMLImageElement::m_image_data => m_encoded_data 2019-12-11 18:30:42 +01:00
LibIPC LibIPC: Install libipc.a into /usr/lib 2019-12-07 14:52:27 +01:00
LibM LibM: Implement pow() 2019-12-10 16:24:47 +01:00
LibMarkdown AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibPCIDB AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibProtocol LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibPthread LibPThread: Add pthread_set/getname_np 2019-12-08 14:09:29 +01:00
LibThread LibThread: Allow setting thread name in constructor 2019-12-08 14:09:29 +01:00
LibVT LibGUI: Make GMenu inherit from CObject 2019-12-09 21:05:44 +01:00