Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art

XPC

How macOS schedules and dispatches background tasks using CTS 3

What does it take for an app to have ‘activities’ managed for efficiency by CTS? Not a lot – but in return, the management is a black box.

October 15, 2020 Macs, Technology

How macOS schedules and dispatches background tasks using CTS 2

In the first article in this series, I explained how a great many background activities in macOS, including […]

October 14, 2020 Macs, Technology

How macOS schedules and dispatches background tasks using CTS 1

Rather than using cron or launchd, many background services in macOS are now run using Centralized Task Scheduling (CTS). This is how it works.

October 13, 2020 Macs, Technology

Hardened runtime, sandboxing and XPC services

Jeff Johnson of @lapcatsoftware has just published an excellent technical article looking at controversial issues over hardening, sandboxing, […]

November 7, 2019 Macs, Technology

Starting up in Sierra: a fuller account for troubleshooting

T T Read More

A detailed examination of what happens during the first few minutes after starting your Mac up. Vital for anyone trying to diagnose problems in that period.

November 20, 2017 Macs, Technology

Reliability of macOS Sierra: scheduled and background activities

Scheduling background activities like making backups has moved from cron to launchd, and now to a more complex system. This has reduced the reliability of macOS and made it harder to support.

August 26, 2017 Macs, Technology

How macOS runs background activities: 4 Using XPC Activity

T T Read More

How scheduling concurrent and background tasks using XPC Activity works, and compares with alternatives such as NSBackgroundActivityScheduler.

May 23, 2017 Macs, Technology

How macOS manages tasks on cores: a draft

Trying to get a more coherent overview of the different paths to concurrent, asynchronous, and background task management in macOS. Draft for discussion.

May 16, 2017 Macs, Technology

Watching Grand Central Dispatch at Work

The aim is to be able to run commands at regular intervals using GCD rather than launchd. Here are details of the code and resulting log entries, casting light on how GCD works.

May 1, 2017 Macs, Technology

App Nap, Battery Endurance, and Grand Central Dispatch

T T Read More

Despite its documentation vanishing, it’s clear that GCD does a lot more than provide an easy way to concurrency for app developers.

April 29, 2017 Macs, Technology

Posts navigation

Previous 1 2 3 Next
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,871 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...