-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from overtone/arne/prep-release
Prep release
- Loading branch information
Showing
12 changed files
with
252 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.cake | ||
pom.xml | ||
*.jar | ||
*.war | ||
lib | ||
|
@@ -13,3 +12,4 @@ pom.xml.asc | |
/.nrepl-port | ||
.hgignore | ||
.hg/ | ||
.cpcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# at-at Changelog | ||
# Unreleased | ||
|
||
## 1.1.0 | ||
_14th Jan 2013_ | ||
|
||
* Added new fn `interspaced` which will call fun repeatedly with a | ||
specified interspacing. | ||
* Added missing trailing quotes when printing schedule. | ||
- Add exception handling through `uncaught-exception-handler` | ||
- Make our thread pool threads recognizable by adding `at-at` to the thread name | ||
- Add pprint handlers for records | ||
- Add type hints to avoid reflection, and to be Babashka/GraalVM compatible | ||
- Make `shutdown-pool!` public | ||
|
||
## 1.2.0 | ||
_28th May 2013_ | ||
|
||
* BREAKING CHANGE - Remove support for specifying stop-delayed? and | ||
stop-periodic? scheduler strategies. | ||
* Jobs now correctly report as no longer being scheduled when pool is shutdown. | ||
|
||
## 1.1.0 | ||
_14th Jan 2013_ | ||
|
||
* Added new fn `interspaced` which will call fun repeatedly with a | ||
specified interspacing. | ||
* Added missing trailing quotes when printing schedule. | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{:deps | ||
{lambdaisland/open-source {:git/url "https://github.com/lambdaisland/open-source" | ||
:sha "b46bd6273c5c554f8374406a7482f6e0a6f1dd25" | ||
#_#_:local/root "../open-source"}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bb | ||
|
||
(ns proj (:require [lioss.main :as lioss])) | ||
|
||
(lioss/main | ||
{:license :epl | ||
:group-id "overtone" | ||
:gh-project "overtone/at-at" | ||
:org-name "Overtone" | ||
:org-url "https://overtone.github.io/" | ||
:inception-year 2011 | ||
:description "Ahead-of-time function scheduler."}) | ||
|
||
|
||
;; Local Variables: | ||
;; mode:clojure | ||
;; End: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>overtone</groupId> | ||
<artifactId>at-at</artifactId> | ||
<version>0.0.51</version> | ||
<name>at-at</name> | ||
<description>Ahead-of-time function scheduler.</description> | ||
<url>https://github.com/lambdaisland/at-at</url> | ||
<inceptionYear>2011</inceptionYear> | ||
<organization> | ||
<name>Lambda Island</name> | ||
<url>https://lambdaisland.com</url> | ||
</organization> | ||
<properties> | ||
<project class="build sourceEncoding">UTF-8</project> | ||
</properties> | ||
<licenses> | ||
<license> | ||
<name>Eclipse Public License 1.0</name> | ||
<url>https://www.eclipse.org/legal/epl-v10.html</url> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<url>https://github.com/lambdaisland/at-at</url> | ||
<connection>scm:git:git://github.com/lambdaisland/at-at.git</connection> | ||
<developerConnection>scm:git:ssh://git@github.com/lambdaisland/at-at.git</developerConnection> | ||
<tag>797011be61c92d3e6578e6fcff49fd39eef11b64</tag> | ||
</scm> | ||
<dependencies></dependencies> | ||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src</directory> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<configuration> | ||
<archive> | ||
<manifestEntries> | ||
<git-revision>797011be61c92d3e6578e6fcff49fd39eef11b64</git-revision> | ||
</manifestEntries> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.6</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<repositories> | ||
<repository> | ||
<id>clojars</id> | ||
<url>https://repo.clojars.org/</url> | ||
</repository> | ||
</repositories> | ||
<distributionManagement> | ||
<repository> | ||
<id>clojars</id> | ||
<name>Clojars repository</name> | ||
<url>https://clojars.org/repo</url> | ||
</repository> | ||
</distributionManagement> | ||
</project> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
(ns at-at.walkthrough | ||
(:require | ||
[overtone.at-at :as at])) | ||
|
||
(def my-pool (at-at/mk-pool)) | ||
|
||
(at/at (+ 1000 (at/now)) #(println "hello from the past!") my-pool) | ||
(at/after 1000 #(println "hello from the past!") my-pool) | ||
|
||
(at/every 1000 #(println "I am cool!") my-pool) | ||
(at/every 1000 #(println "I am cool!") my-pool :initial-delay 2000) | ||
(at/show-schedule my-pool) | ||
(at/stop (first (at/scheduled-jobs my-pool))) | ||
|
||
(at/interspaced 1000 #(println "I am cool!") my-pool) | ||
(at/stop-and-reset-pool! my-pool) | ||
(at/stop-and-reset-pool! my-pool :strategy :kill) | ||
|
||
(def tp (at/mk-pool)) | ||
(at/after 10000 #(println "hello") tp :desc "Hello printer") | ||
(at/every 5000 #(println "I am still alive!") tp :desc "Alive task") | ||
(at/show-schedule tp) | ||
|
||
(run! at/stop (at/scheduled-jobs tp)) |
Oops, something went wrong.