It looks like a cog is an independent core in a multi-core system. The Arduino Due (and a few other Arduinos) has a scheduler built in which will probably do a similar job.
It would be better to implement it without the scheduler though. You probably don't want or need a Due.