@hergertme What were the issues with running plugins in separate threads? Won't they block the UI or something else important on the main thread?

@YaLTeR We still use threads, but it's about where the API boundaries are placed. If you create and run plugins in threads, they 100% of code needs to be thread-safe.

If, instead, you create and call plugin API only from the main thread, then each plugin can determine where to thread and how to share state.

@hergertme oh, no! Looking educated! The lies he tells with his eyes! 😆

Welcome to the old folks club!

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!