akirakyle / emacs-webkit

An Emacs Dynamic Module for WebKit, aka a fully fledged browser inside emacs
GNU General Public License v3.0
425 stars 25 forks source link

threading #6

Open tekakutli opened 4 years ago

tekakutli commented 4 years ago

Did you end up using emacs threads? Or any other threads?

What's the c code for?

akirakyle commented 4 years ago

I didn't use emacs threads. Gtk creates its own threads to handle communicating with the webkit content processes, but I don't explicitly create any threads myself in the module. The C code is all about interfacing with the webkitgtk2 api and providing an interface to it to elisp.